Skip to content

ResourcePolicy

Source code in docs_src/capo_codeartifact/types/resource_policy.py
class ResourcePolicy(TypedDict, closed=True):
    resource_arn: NotRequired["capo_codeartifact.types.arn.Arn"]
    """<p> The ARN of the resource associated with the resource policy </p>"""
    revision: NotRequired["capo_codeartifact.types.policy_revision.PolicyRevision"]
    """<p> The current revision of the resource policy. </p>"""
    document: NotRequired["capo_codeartifact.types.policy_document.PolicyDocument"]
    """<p> The resource policy formatted in JSON. </p>"""

document instance-attribute

document: NotRequired[PolicyDocument]

The resource policy formatted in JSON.

resource_arn instance-attribute

resource_arn: NotRequired[Arn]

The ARN of the resource associated with the resource policy

revision instance-attribute

revision: NotRequired[PolicyRevision]

The current revision of the resource policy.