Module Values.PutAutoScalingPolicyInputSource

Creates or updates 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.

Sourcetype nonrec t = {
  1. clusterId : ClusterId.t;
    (*

    Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

    *)
  2. instanceGroupId : InstanceGroupId.t;
    (*

    Specifies the ID of the instance group to which the automatic scaling policy is applied.

    *)
  3. autoScalingPolicy : AutoScalingPolicy.t;
    (*

    Specifies the definition of the automatic scaling policy.

    *)
}
Sourceval context_ : string
Sourceval make : clusterId:ClusterId.t -> instanceGroupId:InstanceGroupId.t -> autoScalingPolicy:AutoScalingPolicy.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ClusterId.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 ]) 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