Module Values.PredictiveScalingPredefinedScalingMetricSpecificationSource

Describes a scaling metric for a predictive scaling policy. When returned in the output of DescribePolicies, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair. The following predefined metrics are available for predictive scaling: ECSServiceAverageCPUUtilization ECSServiceAverageMemoryUtilization ECSServiceCPUUtilization ECSServiceMemoryUtilization ECSServiceTotalCPUUtilization ECSServiceTotalMemoryUtilization ALBRequestCount ALBRequestCountPerTarget TotalALBRequestCount

Sourcetype nonrec t = {
  1. predefinedMetricType : PredictiveScalingMetricType.t;
    (*

    The metric type.

    *)
  2. resourceLabel : ResourceLabel.t option;
    (*

    A label that uniquely identifies a specific target group from which to determine the average request count.

    *)
}
Sourceval context_ : string
Sourceval make : ?resourceLabel:??? -> predefinedMetricType:PredictiveScalingMetricType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PredictiveScalingMetricType.t ]) 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