dynamodb:Query is a Read access-level action in the dynamodb service. Grants permission to use the primary key of a table or a secondary index to directly access items from that table or index
ARNs that dynamodb:Query can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants dynamodb:Query.
Filters access by the tags associated with the resource
A minimal policy that allows dynamodb:Query. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDynamodbQuery",
"Effect": "Allow",
"Action": "dynamodb:Query",
"Resource": "*"
}
]
}