Skip to content

CompleteLifecycleActionType

Source code in docs_src/capo_auto_scaling/types/complete_lifecycle_action_type.py
class CompleteLifecycleActionType(TypedDict, closed=True):
    lifecycle_hook_name: NotRequired[
        "capo_auto_scaling.types.ascii_string_max_len255.AsciiStringMaxLen255"
    ]
    """<p>The name of the lifecycle hook.</p>"""
    auto_scaling_group_name: NotRequired[
        "capo_auto_scaling.types.resource_name.ResourceName"
    ]
    """<p>The name of the Auto Scaling group.</p>"""
    lifecycle_action_token: NotRequired[
        "capo_auto_scaling.types.lifecycle_action_token.LifecycleActionToken"
    ]
    """<p>A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.</p>"""
    lifecycle_action_result: NotRequired[
        "capo_auto_scaling.types.lifecycle_action_result.LifecycleActionResult"
    ]
    """<p>The action for the group to take. You can specify either <code>CONTINUE</code> or <code>ABANDON</code>.</p>"""
    instance_id: NotRequired[
        "capo_auto_scaling.types.xml_string_max_len19.XmlStringMaxLen19"
    ]
    """<p>The ID of the instance.</p>"""

auto_scaling_group_name instance-attribute

auto_scaling_group_name: NotRequired[ResourceName]

The name of the Auto Scaling group.

instance_id instance-attribute

instance_id: NotRequired[XmlStringMaxLen19]

The ID of the instance.

lifecycle_action_result instance-attribute

lifecycle_action_result: NotRequired[LifecycleActionResult]

The action for the group to take. You can specify either CONTINUE or ABANDON.

lifecycle_action_token instance-attribute

lifecycle_action_token: NotRequired[LifecycleActionToken]

A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

lifecycle_hook_name instance-attribute

lifecycle_hook_name: NotRequired[AsciiStringMaxLen255]

The name of the lifecycle hook.