Module Values_2.TargetTrackingScalingPolicyConfigurationSource

A target tracking scaling policy. Includes support for predefined or customized metrics. When using the PutScalingPolicy API, this parameter is required when you are creating a policy with the policy type TargetTrackingScaling.

Sourcetype nonrec t = {
  1. metricSpecification : MetricSpecification.t option;
    (*

    An object containing information about a metric.

    *)
  2. targetValue : Double.t option;
    (*

    The recommended target value to specify for the metric when creating a scaling policy.

    *)
}
Sourceval make : ?metricSpecification:??? -> ?targetValue:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of Values_0.String_.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