Skip to content

ServicePolicyDisassociatedMetadata

Source code in docs_src/capo_resiliencehubv2/types/service_policy_disassociated_metadata.py
class ServicePolicyDisassociatedMetadata(TypedDict, closed=True):
    policy_name: NotRequired["str"]
    """<p>The name of the disassociated policy.</p>"""
    policy_arn: NotRequired["capo_resiliencehubv2.types.arn.Arn"]
    policy_owner_account_id: NotRequired["str"]
    """<p>The account that owns the policy.</p>"""
    policy_source: NotRequired[
        "capo_resiliencehubv2.types.policy_value_source.PolicyValueSource"
    ]
    """<p>The source of the policy.</p> <ul> <li> <p>SELF — the policy belongs to the account that owns the service.</p> </li> <li> <p>CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.</p> </li> </ul>"""
    reason: NotRequired[
        "capo_resiliencehubv2.types.policy_disassociation_reason.PolicyDisassociationReason"
    ]
    """<p>The reason the policy was disassociated from the service.</p>"""

policy_arn instance-attribute

policy_arn: NotRequired[Arn]

policy_name instance-attribute

policy_name: NotRequired[str]

The name of the disassociated policy.

policy_owner_account_id instance-attribute

policy_owner_account_id: NotRequired[str]

The account that owns the policy.

policy_source instance-attribute

policy_source: NotRequired[PolicyValueSource]

The source of the policy.

  • SELF — the policy belongs to the account that owns the service.

  • CROSS_ACCOUNT — the policy belongs to another account and was shared with the organization.

reason instance-attribute

reason: NotRequired[PolicyDisassociationReason]

The reason the policy was disassociated from the service.