Skip to content

ServicePolicyAssociatedMetadata

Source code in docs_src/capo_resiliencehubv2/types/service_policy_associated_metadata.py
class ServicePolicyAssociatedMetadata(TypedDict, closed=True):
    policy_name: NotRequired["str"]
    """<p>The name of the associated 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>"""

policy_arn instance-attribute

policy_arn: NotRequired[Arn]

policy_name instance-attribute

policy_name: NotRequired[str]

The name of the associated 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.