Module Values.ManagedScalingPolicySource

Managed scaling policy for an Amazon EMR cluster. The policy specifies the limits for resources 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. computeLimits : ComputeLimits.t option;
    (*

    The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

    *)
  2. utilizationPerformanceIndex : UtilizationPerformanceIndexInteger.t option;
    (*

    An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.

    *)
  3. scalingStrategy : ScalingStrategy.t option;
    (*

    Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.

    *)
}
Sourceval make : ?computeLimits:??? -> ?utilizationPerformanceIndex:??? -> ?scalingStrategy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of UtilizationPerformanceIndexInteger.t | `Structure of (string * [> `Enum 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