Module Values.PutManagedScalingPolicyInputSource

Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as Amazon EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

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

    Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.

    *)
  2. managedScalingPolicy : ManagedScalingPolicy.t;
    (*

    Specifies the constraints for the managed scaling policy.

    *)
}
Sourceval context_ : string
Sourceval make : clusterId:ClusterId.t -> managedScalingPolicy:ManagedScalingPolicy.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ClusterId.t | `Structure of (string * [> `Enum of string | `Integer of UtilizationPerformanceIndexInteger.t | `Structure of (string * [> `Enum 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