dynamodb:BatchGetItem

Read

dynamodb:BatchGetItem is a Read access-level action in the dynamodb service. Grants permission to return the attributes of one or more items from one or more tables

Resource types

ARNs that dynamodb:BatchGetItem can be scoped to in an IAM policy.

arn:${Partition}:dynamodb:${Region}:${Account}:table/${TableName} required
table

Condition keys

Keys you can use in the Condition block of a policy that grants dynamodb:BatchGetItem.

dynamodb:Attributes ArrayOfString

Filters access by attribute (field or column) names of the table

dynamodb:LeadingKeys ArrayOfString

Filters access by the first partition key of the table

dynamodb:ReturnConsumedCapacity String

Filters access by the ReturnConsumedCapacity parameter of a request. Contains either "TOTAL" or "NONE"

dynamodb:Select String

Filters access by the Select parameter of a Query or Scan request

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows dynamodb:BatchGetItem. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDynamodbBatchGetItem",
      "Effect": "Allow",
      "Action": "dynamodb:BatchGetItem",
      "Resource": "*"
    }
  ]
}

Related actions in dynamodb

View all dynamodb actions →