Skip to content

Instantly share code, notes, and snippets.

@sapessi
Created October 24, 2016 16:00
Show Gist options
  • Save sapessi/ba1b2a21347a9f99f38bb0da30209a33 to your computer and use it in GitHub Desktop.
Save sapessi/ba1b2a21347a9f99f38bb0da30209a33 to your computer and use it in GitHub Desktop.
Policy for serverless bbq lab
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1476979875000",
"Effect": "Allow",
"Action": [
"dynamodb:GetItem",
"dynamodb:Query",
"dynamodb:Scan",
"dynamodb:PutItem"
],
"Resource": [
"arn:aws:dynamodb:*:*:table/bbq_*"
]
},
{
"Sid": "Stmt1476979947000",
"Effect": "Allow",
"Action": [
"logs:*"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment