Last active
January 6, 2019 15:39
-
-
Save gpsarkar/a9786c0deca7b650a8e773b0aff21bbc to your computer and use it in GitHub Desktop.
lambda dynamo db iam policy
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"logs:Create*", | |
"logs:Describe*", | |
"logs:Get*", | |
"logs:Put*" | |
], | |
"Resource": "arn:aws:logs:us-east-1:123456789012:log-group:/csp*", | |
"Effect": "Allow" | |
}, | |
{ | |
"Action": [ | |
"cloudwatchlog:DescribeLogGroups", | |
"cloudwatchlog:DescribeLogStreams", | |
"cloudwatchlog:GetLogEvents" | |
], | |
"Resource": "*", | |
"Effect": "Allow" | |
}, | |
{ | |
"Action": [ | |
"dynamodb:GetItem", | |
"dynamodb:BatchGetItem", | |
"dynamodb:Query", | |
"dynamodb:Scan", | |
"dynamodb:DescribeTable", | |
"dynamodb:PutItem", | |
"dynamodb:UpdateItem" | |
], | |
"Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/csp*", | |
"Effect": "Allow" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment