Skip to content

LaunchInstancesRequest

Source code in docs_src/capo_auto_scaling/types/launch_instances_request.py
class LaunchInstancesRequest(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 to launch instances into. </p>"""
    requested_capacity: NotRequired[
        "capo_auto_scaling.types.requested_capacity.RequestedCapacity"
    ]
    """<p> The number of instances to launch. Although this value can exceed 100 for instance weights, the actual instance count is limited to 100 instances per launch. </p>"""
    client_token: NotRequired["capo_auto_scaling.types.client_token.ClientToken"]
    """<p> A unique, case-sensitive identifier to ensure idempotency of the request. </p>"""
    availability_zones: NotRequired[
        "capo_auto_scaling.types.availability_zones_limit1.AvailabilityZonesLimit1"
    ]
    """<p> The Availability Zones for the instance launch. Must match or be included in the Auto Scaling group's Availability Zone configuration. Either <code>AvailabilityZones</code> or <code>SubnetIds</code> must be specified for groups with multiple Availability Zone configurations. </p>"""
    availability_zone_ids: NotRequired[
        "capo_auto_scaling.types.availability_zone_ids_limit1.AvailabilityZoneIdsLimit1"
    ]
    """<p> A list of Availability Zone IDs where instances should be launched. Must match or be included in the group's AZ configuration. You cannot specify both AvailabilityZones and AvailabilityZoneIds. Required for multi-AZ groups, optional for single-AZ groups. </p>"""
    subnet_ids: NotRequired["capo_auto_scaling.types.subnet_ids_limit1.SubnetIdsLimit1"]
    """<p> The subnet IDs for the instance launch. Either <code>AvailabilityZones</code> or <code>SubnetIds</code> must be specified. If both are specified, the subnets must reside in the specified Availability Zones. </p>"""
    retry_strategy: NotRequired["capo_auto_scaling.types.retry_strategy.RetryStrategy"]
    """<p> Specifies whether to retry asynchronously if the synchronous launch fails. Valid values are NONE (default, no async retry) and RETRY_WITH_GROUP_CONFIGURATION (increase desired capacity and retry with group configuration). </p>"""

auto_scaling_group_name instance-attribute

auto_scaling_group_name: NotRequired[XmlStringMaxLen255]

The name of the Auto Scaling group to launch instances into.

availability_zone_ids instance-attribute

availability_zone_ids: NotRequired[AvailabilityZoneIdsLimit1]

A list of Availability Zone IDs where instances should be launched. Must match or be included in the group's AZ configuration. You cannot specify both AvailabilityZones and AvailabilityZoneIds. Required for multi-AZ groups, optional for single-AZ groups.

availability_zones instance-attribute

availability_zones: NotRequired[AvailabilityZonesLimit1]

The Availability Zones for the instance launch. Must match or be included in the Auto Scaling group's Availability Zone configuration. Either AvailabilityZones or SubnetIds must be specified for groups with multiple Availability Zone configurations.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier to ensure idempotency of the request.

requested_capacity instance-attribute

requested_capacity: NotRequired[RequestedCapacity]

The number of instances to launch. Although this value can exceed 100 for instance weights, the actual instance count is limited to 100 instances per launch.

retry_strategy instance-attribute

retry_strategy: NotRequired[RetryStrategy]

Specifies whether to retry asynchronously if the synchronous launch fails. Valid values are NONE (default, no async retry) and RETRY_WITH_GROUP_CONFIGURATION (increase desired capacity and retry with group configuration).

subnet_ids instance-attribute

subnet_ids: NotRequired[SubnetIdsLimit1]

The subnet IDs for the instance launch. Either AvailabilityZones or SubnetIds must be specified. If both are specified, the subnets must reside in the specified Availability Zones.