Skip to content

DetachInstancesQuery

Source code in docs_src/capo_auto_scaling/types/detach_instances_query.py
class DetachInstancesQuery(TypedDict, closed=True):
    instance_ids: NotRequired["capo_auto_scaling.types.instance_ids.InstanceIds"]
    """<p>The IDs of the instances. You can specify up to 20 instances.</p>"""
    auto_scaling_group_name: NotRequired[
        "capo_auto_scaling.types.xml_string_max_len255.XmlStringMaxLen255"
    ]
    """<p>The name of the Auto Scaling group.</p>"""
    should_decrement_desired_capacity: NotRequired[
        "capo_auto_scaling.types.should_decrement_desired_capacity.ShouldDecrementDesiredCapacity"
    ]
    """<p>Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.</p>"""

auto_scaling_group_name instance-attribute

auto_scaling_group_name: NotRequired[XmlStringMaxLen255]

The name of the Auto Scaling group.

instance_ids instance-attribute

instance_ids: NotRequired[InstanceIds]

The IDs of the instances. You can specify up to 20 instances.

should_decrement_desired_capacity instance-attribute

should_decrement_desired_capacity: NotRequired[ShouldDecrementDesiredCapacity]

Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.