Skip to content

Instantly share code, notes, and snippets.

@psipher
Forked from djg07/policy
Created April 19, 2021 11:05
Show Gist options
  • Save psipher/8476ad9b53f681522386655ca05f56c6 to your computer and use it in GitHub Desktop.
Save psipher/8476ad9b53f681522386655ca05f56c6 to your computer and use it in GitHub Desktop.
AWSLambdaBasicExecutionPolicy
---
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "*"
}
]
}
InvokeOtherLambdaPolicy
---
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"lambda:InvokeFunction",
"lambda:InvokeAsync"
],
"Resource": "arn:aws:lambda:*:*:function:*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment