Values.PutAutoScalingPolicyOutputSourceCreates 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.
type nonrec t = {clusterId : ClusterId.t option;Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
*)instanceGroupId : InstanceGroupId.t option;Specifies the ID of the instance group to which the scaling policy is applied.
*)autoScalingPolicy : AutoScalingPolicyDescription.t option;The automatic scaling policy definition.
*)clusterArn : ArnType.t option;The Amazon Resource Name (ARN) of the cluster.
*)}val error_of_json :
'a ->
Yojson.Safe.t ->
[> `Unknown_operation_error of 'a * string option ]val 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
* [> `Enum of string
| `Integer of Integer.t
| `Structure of
(string * [> `Enum of string | `String of String_.t ])
list ])
list ])
list ])
list ]