LifecyclePolicySummary
¶
Source code in docs_src/capo_dlm/types/lifecycle_policy_summary.py
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.