Skip to content

Instantly share code, notes, and snippets.

@eoinsha
Created March 19, 2021 15:53
Show Gist options
  • Save eoinsha/610e2318d13d17ff02c389e553c284fc to your computer and use it in GitHub Desktop.
Save eoinsha/610e2318d13d17ff02c389e553c284fc to your computer and use it in GitHub Desktop.
object-lambda-transform-access.yml
- Effect: Allow
Action:
- s3-object-lambda:WriteGetObjectResponse
Resource: '*'
- Effect: Allow
Action:
- s3:GetObject
- s3:ListBucket
Resource:
- !GetAtt bucket.Arn
- !Join ['/', [{Fn::GetAtt: [bucket, Arn]}, '*']]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment