Skip to content

Instantly share code, notes, and snippets.

@niski84
Created December 8, 2022 19:24
Show Gist options
  • Save niski84/a97b50a7e07ae731786d6a380898550f to your computer and use it in GitHub Desktop.
Save niski84/a97b50a7e07ae731786d6a380898550f to your computer and use it in GitHub Desktop.
AllowReadAccessToDynamoDBTables
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowReadAccessToDynamoDBTables",
"Effect": "Allow",
"Action": [
"dynamodb:BatchGetItem",
"dynamodb:GetRecords",
"dynamodb:GetShardIterator",
"dynamodb:Query",
"dynamodb:Scan"
],
"Resource": [
"arn:aws:dynamodb:<REGION>:<ACCOUNT-ID>:table/<TABLE-1-NAME>",
"arn:aws:dynamodb:<REGION>:<ACCOUNT-ID>:table/<TABLE-2-NAME>"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment