Module Values.LaunchInstancesRequestSource

Launches a specified number of instances in an Auto Scaling group. Returns instance IDs and other details if launch is successful or error details if launch is unsuccessful.

Sourcetype nonrec t = {
  1. autoScalingGroupName : XmlStringMaxLen255.t;
    (*

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

    *)
  2. requestedCapacity : RequestedCapacity.t;
    (*

    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.

    *)
  3. clientToken : ClientToken.t;
    (*

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

    *)
  4. availabilityZones : AvailabilityZonesLimit1.t option;
    (*

    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.

    *)
  5. availabilityZoneIds : AvailabilityZoneIdsLimit1.t option;
    (*

    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.

    *)
  6. subnetIds : SubnetIdsLimit1.t option;
    (*

    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.

    *)
  7. retryStrategy : RetryStrategy.t option;
    (*

    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).

    *)
}
Sourceval context_ : string
Sourceval make : ?availabilityZones:??? -> ?availabilityZoneIds:??? -> ?subnetIds:??? -> ?retryStrategy:??? -> autoScalingGroupName:XmlStringMaxLen255.t -> requestedCapacity:RequestedCapacity.t -> clientToken:ClientToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of RequestedCapacity.t | `List of [> `String of XmlStringMaxLen255.t ] list | `String of XmlStringMaxLen255.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t