Module Values.AutoScalingPolicyDescriptionSource

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Sourcetype nonrec t = {
  1. status : AutoScalingPolicyStatus.t option;
    (*

    The status of an automatic scaling policy.

    *)
  2. constraints : ScalingConstraints.t option;
    (*

    The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

    *)
  3. rules : ScalingRuleList.t option;
    (*

    The scale-in and scale-out rules that comprise the automatic scaling policy.

    *)
}
Sourceval make : ?status:??? -> ?constraints:??? -> ?rules:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Double of NonNegativeDouble.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `Integer of Integer.t | `Structure of (string * [> `Enum of string | `String of String_.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