Skip to main content

access_point_policy

Gets an individual access_point_policy resource

Overview

Nameaccess_point_policy
TypeResource
Descriptionaccess_point_policy
Idawscc.s3objectlambda.access_point_policy

Fields

NameDatatypeDescription
object_lambda_access_pointstringThe name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies.
policy_documentobjectA policy document containing permissions to add to the specified ObjectLambdaAccessPoint. For more information, see Access Policy Language Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html) in the Amazon Simple Storage Service Developer Guide.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
object_lambda_access_point,
policy_document
FROM awscc.s3objectlambda.access_point_policy
WHERE data__Identifier = '<ObjectLambdaAccessPoint>';

Permissions

To operate on the access_point_policy resource, the following permissions are required:

Read

s3:GetAccessPointPolicyForObjectLambda

Update

s3:PutAccessPointPolicyForObjectLambda,
s3:GetAccessPointPolicyForObjectLambda

Delete

s3:DeleteAccessPointPolicyForObjectLambda,
s3:GetAccessPointPolicyForObjectLambda