AWS::S3ObjectLambda::AccessPointPolicy
The AWS::S3ObjectLambda::AccessPointPolicy
resource specifies the Object
Lambda Access Point resource policy document.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::S3ObjectLambda::AccessPointPolicy", "Properties" : { "ObjectLambdaAccessPoint" :
String
, "PolicyDocument" :Json
} }
YAML
Type: AWS::S3ObjectLambda::AccessPointPolicy Properties: ObjectLambdaAccessPoint:
String
PolicyDocument:Json
Properties
ObjectLambdaAccessPoint
-
An access point with an attached Amazon Lambda function used to access transformed data from an Amazon S3 bucket.
Required: Yes
Type: String
Pattern:
^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$
Minimum:
3
Maximum:
45
Update requires: Replacement
PolicyDocument
-
Object Lambda Access Point resource policy document.
Required: Yes
Type: Json
Update requires: No interruption
Return values
Ref
For more information about using the Ref
function, see Ref
.