Created
March 1, 2018 02:47
-
-
Save gaupoit/e256528e6f4724630603a3c6d7f4dece to your computer and use it in GitHub Desktop.
DynamoDB access policy for Lambda function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Sid": "TestDynamoDBReadWrite", | |
"Effect": "Allow", | |
"Action": [ | |
"dynamodb:GetItem", | |
"dynamodb:BatchGetItem", | |
"dynamodb:Query", | |
"dynamodb:PutItem", | |
"dynamodb:UpdateItem", | |
"dynamodb:DeleteItem", | |
"dynamodb:BatchWriteItem", | |
"dynamodb:Scan" | |
], | |
"Resource": [ | |
"arn:aws:dynamodb:ap-southeast-1:113:table/test" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment