Skip to content

InstanceLifecyclePolicy

Source code in docs_src/capo_auto_scaling/types/instance_lifecycle_policy.py
class InstanceLifecyclePolicy(TypedDict, closed=True):
    retention_triggers: NotRequired[
        "capo_auto_scaling.types.retention_triggers.RetentionTriggers"
    ]
    """<p> Specifies the conditions that trigger instance retention behavior. These triggers determine when instances should move to a <code>Retained</code> state instead of automatic termination. This allows you to maintain control over instance management when lifecycles transition and operations fail. </p>"""

retention_triggers instance-attribute

retention_triggers: NotRequired[RetentionTriggers]

Specifies the conditions that trigger instance retention behavior. These triggers determine when instances should move to a Retained state instead of automatic termination. This allows you to maintain control over instance management when lifecycles transition and operations fail.