Module Values.PredictiveScalingMetricSpecificationSource

This structure specifies the metrics and target utilization settings for a predictive scaling policy. You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

Sourcetype nonrec t = {
  1. targetValue : MetricScale.t;
    (*

    Specifies the target utilization.

    *)
  2. predefinedMetricPairSpecification : PredictiveScalingPredefinedMetricPairSpecification.t option;
    (*

    The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.

    *)
  3. predefinedScalingMetricSpecification : PredictiveScalingPredefinedScalingMetricSpecification.t option;
    (*

    The predefined scaling metric specification.

    *)
  4. predefinedLoadMetricSpecification : PredictiveScalingPredefinedLoadMetricSpecification.t option;
    (*

    The predefined load metric specification.

    *)
  5. customizedScalingMetricSpecification : PredictiveScalingCustomizedMetricSpecification.t option;
    (*

    The customized scaling metric specification.

    *)
  6. customizedLoadMetricSpecification : PredictiveScalingCustomizedMetricSpecification.t option;
    (*

    The customized load metric specification.

    *)
  7. customizedCapacityMetricSpecification : PredictiveScalingCustomizedMetricSpecification.t option;
    (*

    The customized capacity metric specification.

    *)
}
Sourceval context_ : string
Sourceval make : ?predefinedMetricPairSpecification:??? -> ?predefinedScalingMetricSpecification:??? -> ?predefinedLoadMetricSpecification:??? -> ?customizedScalingMetricSpecification:??? -> ?customizedLoadMetricSpecification:??? -> ?customizedCapacityMetricSpecification:??? -> targetValue:MetricScale.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of MetricScale.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of ReturnData.t | `String of Id.t | `Structure of (string * [> `String of XmlString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of PredictiveScalingMetricDimensionName.t ]) list ] list | `String of PredictiveScalingMetricName.t ]) list ]) list ]) list ] list | `String of PredictiveScalingMetricType.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