Module Values.ShrinkPolicySource

Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.

Sourcetype nonrec t = {
  1. decommissionTimeout : Integer.t option;
    (*

    The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

    *)
  2. instanceResizePolicy : InstanceResizePolicy.t option;
    (*

    Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

    *)
}
Sourceval make : ?decommissionTimeout:??? -> ?instanceResizePolicy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of InstanceId.t ] list ]) list ]) 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