Skip to content

Instantly share code, notes, and snippets.

@icemancast
Forked from sapessi/access-policy.json
Created October 24, 2016 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icemancast/1cdc9146cc6623ee4cd5c6eb7e8aca75 to your computer and use it in GitHub Desktop.
Save icemancast/1cdc9146cc6623ee4cd5c6eb7e8aca75 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