Skip to content

CancelInstanceRefreshType

Source code in docs_src/capo_auto_scaling/types/cancel_instance_refresh_type.py
class CancelInstanceRefreshType(TypedDict, closed=True):
    auto_scaling_group_name: NotRequired[
        "capo_auto_scaling.types.xml_string_max_len255.XmlStringMaxLen255"
    ]
    """<p>The name of the Auto Scaling group.</p>"""
    wait_for_transitioning_instances: NotRequired[
        "capo_auto_scaling.types.boolean_type.BooleanType"
    ]
    """<p>When cancelling an instance refresh, this indicates whether to wait for in-flight launches and terminations to complete. The default is true.</p> <p>When set to false, Amazon EC2 Auto Scaling cancels the instance refresh without waiting for any pending launches or terminations to complete.</p>"""

auto_scaling_group_name instance-attribute

auto_scaling_group_name: NotRequired[XmlStringMaxLen255]

The name of the Auto Scaling group.

wait_for_transitioning_instances instance-attribute

wait_for_transitioning_instances: NotRequired[BooleanType]

When cancelling an instance refresh, this indicates whether to wait for in-flight launches and terminations to complete. The default is true.

When set to false, Amazon EC2 Auto Scaling cancels the instance refresh without waiting for any pending launches or terminations to complete.