Values.DetachInstancesQuerySourceRemoves one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see Detach or attach instances in the Amazon EC2 Auto Scaling User Guide.
type nonrec t = {instanceIds : InstanceIds.t option;The IDs of the instances. You can specify up to 20 instances.
*)autoScalingGroupName : XmlStringMaxLen255.t;The name of the Auto Scaling group.
*)shouldDecrementDesiredCapacity : ShouldDecrementDesiredCapacity.t;Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.
*)}val make :
?instanceIds:??? ->
autoScalingGroupName:XmlStringMaxLen255.t ->
shouldDecrementDesiredCapacity:ShouldDecrementDesiredCapacity.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of ShouldDecrementDesiredCapacity.t
| `List of [> `String of XmlStringMaxLen19.t ] list
| `String of XmlStringMaxLen255.t ])
list ]