View a markdown version of this page

Actions, resources, and condition keys for Amazon S3 Object Lambda - Service Authorization Reference
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 (PDF).

Actions, resources, and condition keys for Amazon S3 Object Lambda

Amazon S3 Object Lambda (service prefix: s3-object-lambda) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

Actions defined by Amazon S3 Object Lambda

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in Amazon. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

AbortMultipartUpload

Grants permission to abort a multipart upload

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Write

DeleteObject

Grants permission to remove the null version of an object and insert a delete marker, which becomes the current version of the object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Write

DeleteObjectTagging

Grants permission to use the tagging subresource to remove the entire tag set from the specified object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Tagging, Write

DeleteObjectVersion

Grants permission to remove a specific version of an object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

s3-object-lambda:versionid

Write

DeleteObjectVersionTagging

Grants permission to remove the entire tag set for a specific version of the object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

s3-object-lambda:versionid

Tagging, Write

GetObject

Grants permission to retrieve objects from Amazon S3

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Read

GetObjectAcl

Grants permission to return the access control list (ACL) of an object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Read

GetObjectLegalHold

Grants permission to get an object's current Legal Hold status

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Read

GetObjectRetention

Grants permission to retrieve the retention settings for an object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Read

GetObjectTagging

Grants permission to return the tag set of an object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Read

GetObjectVersion

Grants permission to retrieve a specific version of an object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

s3-object-lambda:versionid

Read

GetObjectVersionAcl

Grants permission to return the access control list (ACL) of a specific object version

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

s3-object-lambda:versionid

Read

GetObjectVersionTagging

Grants permission to return the tag set for a specific version of the object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

s3-object-lambda:versionid

Read

ListBucket

Grants permission to list some or all of the objects in an Amazon S3 bucket (up to 1000)

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

List

ListBucketMultipartUploads

Grants permission to list in-progress multipart uploads

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

List

ListBucketVersions

Grants permission to list metadata about all the versions of objects in an Amazon S3 bucket

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

List

ListMultipartUploadParts

Grants permission to list the parts that have been uploaded for a specific multipart upload

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

List

PutObject

Grants permission to add an object to a bucket

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Write

PutObjectAcl

Grants permission to set the access control list (ACL) permissions for new or existing objects in an S3 bucket

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Permissions management, Write

PutObjectLegalHold

Grants permission to apply a Legal Hold configuration to the specified object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Write

PutObjectRetention

Grants permission to place an Object Retention configuration on an object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Write

PutObjectTagging

Grants permission to set the supplied tag-set to an object that already exists in a bucket

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Tagging, Write

PutObjectVersionAcl

Grants permission to use the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

s3-object-lambda:versionid

Permissions management, Write

PutObjectVersionTagging

Grants permission to set the supplied tag-set for a specific version of an object

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

s3-object-lambda:versionid

Tagging, Write

RestoreObject

Grants permission to restore an archived copy of an object back into Amazon S3

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Write

WriteGetObjectResponse

Grants permission to provide data for GetObject requests send to S3 Object Lambda

objectlambdaaccesspoint*

s3-object-lambda:authType

s3-object-lambda:signatureAge

s3-object-lambda:TlsVersion

Write

Resource types defined by Amazon S3 Object Lambda

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

objectlambdaaccesspoint

arn:${Partition}:s3-object-lambda:${Region}:${Account}:accesspoint/${AccessPointName}

Condition keys for Amazon S3 Object Lambda

Amazon S3 Object Lambda defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

s3-object-lambda:TlsVersion

Filters access by the TLS version used by the client

Numeric

s3-object-lambda:authType

Filters access by authentication method

String

s3-object-lambda:signatureAge

Filters access by the age in milliseconds of the request signature

Numeric

s3-object-lambda:versionid

Filters access by a specific object version

String