Skip to content

ResourcePolicy

Source code in docs_src/capo_xray/types/resource_policy.py
class ResourcePolicy(TypedDict, closed=True):
    policy_name: NotRequired["capo_xray.types.policy_name.PolicyName"]
    """<p>The name of the resource policy. Must be unique within a specific Amazon Web Services account.</p>"""
    policy_document: NotRequired["capo_xray.types.policy_document.PolicyDocument"]
    """<p>The resource policy document, which can be up to 5kb in size.</p>"""
    policy_revision_id: NotRequired[
        "capo_xray.types.policy_revision_id.PolicyRevisionId"
    ]
    """<p>Returns the current policy revision id for this policy name.</p>"""
    last_updated_time: NotRequired["capo_xray.types.timestamp.Timestamp"]
    """<p>When the policy was last updated, in Unix time seconds.</p>"""

last_updated_time instance-attribute

last_updated_time: NotRequired[Timestamp]

When the policy was last updated, in Unix time seconds.

policy_document instance-attribute

policy_document: NotRequired[PolicyDocument]

The resource policy document, which can be up to 5kb in size.

policy_name instance-attribute

policy_name: NotRequired[PolicyName]

The name of the resource policy. Must be unique within a specific Amazon Web Services account.

policy_revision_id instance-attribute

policy_revision_id: NotRequired[PolicyRevisionId]

Returns the current policy revision id for this policy name.