-
-
Save apun/33c2fd954a8e238bbcb0 to your computer and use it in GitHub Desktop.
Trigger Lambda role policy for InvokeFunction and EC2:Describe*
This file contains 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1447799371000", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:Describe*" | |
], | |
"Resource": [ | |
"*" | |
] | |
}, | |
{ | |
"Sid": "Stmt1447799537000", | |
"Effect": "Allow", | |
"Action": [ | |
"lambda:InvokeFunction" | |
], | |
"Resource": [ | |
"arn:aws:lambda:us-east-1:<aws-account-number>:function:worker_function" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment