Module Values.ScalingPolicySource

Represents a scaling policy.

Sourcetype nonrec t = {
  1. policyName : PolicyName.t option;
    (*

    The name of the scaling policy.

    *)
  2. policyType : PolicyType.t option;
    (*

    The type of scaling policy.

    *)
  3. targetTrackingConfiguration : TargetTrackingConfiguration.t option;
    (*

    The target tracking scaling policy. Includes support for predefined or customized metrics.

    *)
}
Sourceval make : ?policyName:??? -> ?policyType:??? -> ?targetTrackingConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PolicyName.t | `Structure of (string * [> `Boolean of DisableScaleIn.t | `Double of MetricScale.t | `Integer of Cooldown.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of MetricDimensionName.t ]) list ] list | `String of ResourceLabel.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