Module Values.SetInstanceProtectionQuerySource

Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information, see Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

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

    One or more instance IDs. You can specify up to 50 instances.

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

    The name of the Auto Scaling group.

    *)
  3. protectedFromScaleIn : ProtectedFromScaleIn.t;
    (*

    Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

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