Using Amazon S3 Object Lambda Access Points - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Using Amazon S3 Object Lambda Access Points

Making requests through S3 Object Lambda access points works the same as making requests through other access points. For more information about how to make requests through an access point, see Using access points. You can make requests through Object Lambda access points by using the Amazon Web Services Management Console, Amazon Command Line Interface (Amazon CLI), Amazon SDKs, or Amazon S3 REST API.

Important

The Amazon Resource Names (ARNs) for Object Lambda access points use a service name of s3-object-lambda. Thus, Object Lambda access point ARNs begin with arn:aws-cn::s3-object-lambda, instead of arn:aws-cn::s3, which is used with other access points.

How to find the ARN for your Object Lambda access point

To use an Object Lambda access point with the Amazon CLI or Amazon SDKs, you need to know the Amazon Resource Name (ARN) of the Object Lambda access point. The following examples show how to find the ARN for an Object Lambda access point by using the Amazon Web Services Management Console or Amazon CLI.

Amazon Web Services Management Console
  1. Sign in to the Amazon Web Services Management Console and open the Amazon S3 console at https://console.amazonaws.cn/s3/.

  2. In the left navigation pane, choose Object Lambda Access Points.

  3. Select the option button next to the Object Lambda access point whose ARN you want to copy.

  4. Choose Copy ARN.

Amazon CLI
  1. To retrieve a list of the Object Lambda access points that are associated with your Amazon Web Services account, run the following command. Before running the command, replace the account ID 111122223333 with your Amazon Web Services account ID.

    aws s3control list-access-points-for-object-lambda --account-id 111122223333
  2. Review the command output to find the Object Lambda access point ARN that you want to use. The output of the previous command should look similar to the following example.

    { "ObjectLambdaAccessPointList": [ { "Name": "my-object-lambda-ap", "ObjectLambdaAccessPointArn": "arn:aws:s3-object-lambda:us-east-1:111122223333:accesspoint/my-object-lambda-ap" }, ... ] }

S3 Object Lambda tutorials

The following tutorials present complete end-to-end procedures for some S3 Object Lambda tasks.