Guest User

Untitled

a guest
Feb 18th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Resources:
  2. ...
  3. MyBucket:
  4. Type: 'AWS::S3::Bucket'
  5. Properties:
  6. BucketName: 'my-bucket'
  7. PermissionForS3ToInvokeMyLambda:
  8. Type: 'AWS::Lambda::Permission'
  9. Properties:
  10. Action: 'lambda:InvokeFunction'
  11. FunctionName: !GetAtt MyLambda.Arn
  12. Principal: 's3.amazonaws.com'
  13. SourceArn: !Ref MyBucket
  14. ...
Add Comment
Please, Sign In to add comment