Module Values.TargetTrackingConfigurationSource

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

Sourcetype nonrec t = {
  1. predefinedMetricSpecification : PredefinedMetricSpecification.t option;
    (*

    A predefined metric. You must specify either a predefined metric or a customized metric.

    *)
  2. customizedMetricSpecification : CustomizedMetricSpecification.t option;
    (*

    A customized metric. You must specify either a predefined metric or a customized metric.

    *)
  3. targetValue : MetricScale.t;
    (*

    The target value for the metric. Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

    *)
  4. disableScaleIn : DisableScaleIn.t option;
    (*

    Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

    *)
}
Sourceval context_ : string
Sourceval make : ?predefinedMetricSpecification:??? -> ?customizedMetricSpecification:??? -> ?disableScaleIn:??? -> targetValue:MetricScale.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DisableScaleIn.t | `Double of MetricScale.t | `Structure of (string * [> `Enum of string | `Integer of MetricGranularityInSeconds.t | `List of [> `Structure of (string * [> `Boolean of ReturnData.t | `Integer of MetricGranularityInSeconds.t | `String of MetricDimensionName.t | `Structure of (string * [> `Integer of MetricGranularityInSeconds.t | `String of XmlStringMetricStat.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of MetricDimensionName.t ]) list ] list | `String of MetricNamespace.t ]) list ]) list ]) list ] list | `String of XmlStringMaxLen1023.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