Skip to content

Instantly share code, notes, and snippets.

@ccortezb
Last active April 1, 2021 02:39
Show Gist options
  • Select an option

  • Save ccortezb/7e59972066fe68b1f299d0e76ea6488c to your computer and use it in GitHub Desktop.

Select an option

Save ccortezb/7e59972066fe68b1f299d0e76ea6488c to your computer and use it in GitHub Desktop.
IAM Policy para crear dynamodb tables
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"dynamodb:BatchGetItem",
"dynamodb:GetItem",
"dynamodb:Query",
"dynamodb:Scan",
"dynamodb:BatchWriteItem",
"dynamodb:PutItem",
"dynamodb:UpdateItem"
],
"Resource": "arn:aws:dynamodb:us-east-1:aqui_tu_nro_De_cuenta_Aws:table/books"
},
{
"Effect": "Allow",
"Action": [
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:us-east-1:aqui_tu_nro_De_cuenta_Aws:*"
},
{
"Effect": "Allow",
"Action": "logs:CreateLogGroup",
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment