Module Values.AutoScalingPolicySource

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. An 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. constraints : ScalingConstraints.t;
    (*

    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.

    *)
  2. rules : ScalingRuleList.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : constraints:ScalingConstraints.t -> rules:ScalingRuleList.t -> 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 * [> `Integer of Integer.t ]) 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