Created
March 19, 2021 15:56
-
-
Save eoinsha/4e3724c6f7c86d9b4259f6835e561888 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bucketAccessPoint: | |
Type: AWS::S3::AccessPoint | |
Properties: | |
Bucket: !Ref bucket | |
Name: ${self:service}-${self:provider.stage}-ap | |
lambdaAccessPoint: | |
Type: AWS::S3ObjectLambda::AccessPoint | |
Properties: | |
Name: ${self:service}-${self:provider.stage}-lambda-ap | |
ObjectLambdaConfiguration: | |
CloudWatchMetricsEnabled: true | |
SupportingAccessPoint: !Sub arn:aws:s3:${AWS::Region}:${AWS::AccountId}:accesspoint/${self:service}-${self:provider.stage}-ap | |
TransformationConfigurations: | |
- Actions: ['GetObject'] | |
ContentTransformation: | |
AwsLambda: | |
FunctionArn: !GetAtt TransformerLambdaFunction.Arn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment