Skip to content

LifecyclePolicySummary

Source code in docs_src/capo_dlm/types/lifecycle_policy_summary.py
class LifecyclePolicySummary(TypedDict, closed=True):
    policy_id: NotRequired["capo_dlm.types.policy_id.PolicyId"]
    """<p>The identifier of the lifecycle policy.</p>"""
    description: NotRequired["capo_dlm.types.policy_description.PolicyDescription"]
    """<p>The description of the lifecycle policy.</p>"""
    state: NotRequired[
        "capo_dlm.types.gettable_policy_state_values.GettablePolicyStateValues"
    ]
    """<p>The activation state of the lifecycle policy.</p>"""
    tags: NotRequired["capo_dlm.types.tag_map.TagMap"]
    """<p>The tags.</p>"""
    policy_type: NotRequired["capo_dlm.types.policy_type_values.PolicyTypeValues"]
    """<p>The type of policy. <code>EBS_SNAPSHOT_MANAGEMENT</code> indicates that the policy manages the lifecycle of Amazon EBS snapshots. <code>IMAGE_MANAGEMENT</code> indicates that the policy manages the lifecycle of EBS-backed AMIs. <code>EVENT_BASED_POLICY</code> indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.</p>"""
    default_policy: NotRequired["capo_dlm.types.default_policy.DefaultPolicy"]
    """<p> <b>[Default policies only]</b> The type of default policy. Values include:</p> <ul> <li> <p> <code>VOLUME</code> - Default policy for EBS snapshots</p> </li> <li> <p> <code>INSTANCE</code> - Default policy for EBS-backed AMIs</p> </li> </ul>"""

default_policy instance-attribute

default_policy: NotRequired[DefaultPolicy]

[Default policies only] The type of default policy. Values include:

  • VOLUME - Default policy for EBS snapshots

  • INSTANCE - Default policy for EBS-backed AMIs

description instance-attribute

description: NotRequired[PolicyDescription]

The description of the lifecycle policy.

policy_id instance-attribute

policy_id: NotRequired[PolicyId]

The identifier of the lifecycle policy.

policy_type instance-attribute

policy_type: NotRequired[PolicyTypeValues]

The type of policy. EBS_SNAPSHOT_MANAGEMENT indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.

state instance-attribute

state: NotRequired[GettablePolicyStateValues]

The activation state of the lifecycle policy.

tags instance-attribute

tags: NotRequired[TagMap]

The tags.