dynamodb:PartiQLInsert

Write

dynamodb:PartiQLInsert is a Write access-level action in the dynamodb service. Grants permission to create a new item, if an item with same primary key does not exist in the table

Resource types

ARNs that dynamodb:PartiQLInsert 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:PartiQLInsert.

dynamodb:Attributes ArrayOfString

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

dynamodb:EnclosingOperation String

Filters access by blocking Transactions APIs calls and allow the non-Transaction APIs calls and vice-versa

dynamodb:LeadingKeys ArrayOfString

Filters access by the first partition key of the table

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in dynamodb

View all dynamodb actions →