Created
June 17, 2020 09:41
-
-
Save velotiotech/a8da01656bf9cf6c73db3ab22641cb67 to your computer and use it in GitHub Desktop.
Policy for DynamoDB operations & CloudWatch Logs
This file contains 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
{ | |
"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:eu-west-1:123456789012:table/SampleTable" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"logs:CreateLogStream", | |
"logs:PutLogEvents" | |
], | |
"Resource": "arn:aws:logs:eu-west-1:123456789012:*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "logs:CreateLogGroup", | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment