Module Values.AttachInstancesQuerySource

Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see Detach or attach instances in the Amazon EC2 Auto Scaling User Guide.

Sourcetype nonrec t = {
  1. instanceIds : InstanceIds.t option;
    (*

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

    *)
  2. autoScalingGroupName : XmlStringMaxLen255.t;
    (*

    The name of the Auto Scaling group.

    *)
}
Sourceval context_ : string
Sourceval make : ?instanceIds:??? -> autoScalingGroupName:XmlStringMaxLen255.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of XmlStringMaxLen19.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