Skip to content

Instantly share code, notes, and snippets.

@vaquarkhan
Forked from djg07/policy
Last active February 25, 2022 03:12
Show Gist options
  • Select an option

  • Save vaquarkhan/e3667c7453f9f61eafa9fb9853adc919 to your computer and use it in GitHub Desktop.

Select an option

Save vaquarkhan/e3667c7453f9f61eafa9fb9853adc919 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