Skip to content

Put resource policy

async_boto.validation.dynamodb.put_resource_policy

PutResourcePolicyRequest

Bases: BaseModel

Request model for the PutResourcePolicy operation.

ATTRIBUTE DESCRIPTION
Policy

An AWS resource-based policy document in JSON format.

TYPE: str

ResourceArn

The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached.

TYPE: str

ConfirmRemoveSelfResourceAccess

Set this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future.

TYPE: Optional[bool]

ExpectedRevisionId

A string value that you can use to conditionally update your policy.

TYPE: Optional[str]

Policy instance-attribute

Policy

ResourceArn instance-attribute

ResourceArn

ConfirmRemoveSelfResourceAccess class-attribute instance-attribute

ConfirmRemoveSelfResourceAccess = None

ExpectedRevisionId class-attribute instance-attribute

ExpectedRevisionId = None

PutResourcePolicyResponse

Bases: BaseModel

Response model for the PutResourcePolicy operation.

ATTRIBUTE DESCRIPTION
RevisionId

A unique string that represents the revision ID of the policy.

TYPE: str

RevisionId instance-attribute

RevisionId