Module Values.EnterStandbyQuerySource

Moves the specified instances into the standby state. If you choose to decrement the desired capacity of the Auto Scaling group, the instances can enter standby as long as the desired capacity of the Auto Scaling group after the instances are placed into standby is equal to or greater than the minimum capacity of the group. If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group launches new instances to replace the instances on standby. For more information, see Temporarily removing instances from your Auto Scaling group 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.

    *)
  3. shouldDecrementDesiredCapacity : ShouldDecrementDesiredCapacity.t;
    (*

    Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to Standby mode.

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