Skip to content

GetResourcePolicyOutput

Source code in docs_src/capo_dynamodb/types/get_resource_policy_output.py
class GetResourcePolicyOutput(TypedDict, closed=True):
    policy: NotRequired["capo_dynamodb.types.resource_policy.ResourcePolicy"]
    """<p>The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.</p>"""
    revision_id: NotRequired["capo_dynamodb.types.policy_revision_id.PolicyRevisionId"]
    """<p>A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.</p>"""

policy instance-attribute

policy: NotRequired[ResourcePolicy]

The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.

revision_id instance-attribute

revision_id: NotRequired[PolicyRevisionId]

A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.