Skip to content

LifecyclePolicy

Source code in docs_src/capo_dlm/types/lifecycle_policy.py
class LifecyclePolicy(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>"""
    status_message: NotRequired["capo_dlm.types.status_message.StatusMessage"]
    """<p>The description of the status.</p>"""
    execution_role_arn: NotRequired[
        "capo_dlm.types.execution_role_arn.ExecutionRoleArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>"""
    date_created: NotRequired["capo_dlm.types.timestamp.Timestamp"]
    """<p>The local date and time when the lifecycle policy was created.</p>"""
    date_modified: NotRequired["capo_dlm.types.timestamp.Timestamp"]
    """<p>The local date and time when the lifecycle policy was last modified.</p>"""
    policy_details: NotRequired["capo_dlm.types.policy_details.PolicyDetails"]
    """<p>The configuration of the lifecycle policy</p>"""
    tags: NotRequired["capo_dlm.types.tag_map.TagMap"]
    """<p>The tags.</p>"""
    policy_arn: NotRequired["capo_dlm.types.policy_arn.PolicyArn"]
    """<p>The Amazon Resource Name (ARN) of the policy.</p>"""
    default_policy: NotRequired["capo_dlm.types.default_policy.DefaultPolicy"]
    """<p>Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy.</p> <ul> <li> <p> <code>true</code> - the policy is a default policy.</p> </li> <li> <p> <code>false</code> - the policy is a custom policy.</p> </li> </ul>"""

date_created instance-attribute

date_created: NotRequired[Timestamp]

The local date and time when the lifecycle policy was created.

date_modified instance-attribute

date_modified: NotRequired[Timestamp]

The local date and time when the lifecycle policy was last modified.

default_policy instance-attribute

default_policy: NotRequired[DefaultPolicy]

Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy.

  • true - the policy is a default policy.

  • false - the policy is a custom policy.

description instance-attribute

description: NotRequired[PolicyDescription]

The description of the lifecycle policy.

execution_role_arn instance-attribute

execution_role_arn: NotRequired[ExecutionRoleArn]

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

policy_arn instance-attribute

policy_arn: NotRequired[PolicyArn]

The Amazon Resource Name (ARN) of the policy.

policy_details instance-attribute

policy_details: NotRequired[PolicyDetails]

The configuration of the lifecycle policy

policy_id instance-attribute

policy_id: NotRequired[PolicyId]

The identifier of the lifecycle policy.

state instance-attribute

state: NotRequired[GettablePolicyStateValues]

The activation state of the lifecycle policy.

status_message instance-attribute

status_message: NotRequired[StatusMessage]

The description of the status.

tags instance-attribute

tags: NotRequired[TagMap]

The tags.