Skip to content

SetInstanceProtectionQuery

Source code in docs_src/capo_auto_scaling/types/set_instance_protection_query.py
class SetInstanceProtectionQuery(TypedDict, closed=True):
    instance_ids: NotRequired["capo_auto_scaling.types.instance_ids.InstanceIds"]
    """<p>One or more instance IDs. You can specify up to 50 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>"""
    protected_from_scale_in: NotRequired[
        "capo_auto_scaling.types.protected_from_scale_in.ProtectedFromScaleIn"
    ]
    """<p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.</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]

One or more instance IDs. You can specify up to 50 instances.

protected_from_scale_in instance-attribute

protected_from_scale_in: NotRequired[ProtectedFromScaleIn]

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.