Module Values.ScalingRuleSource

A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how Amazon EC2 instances are added or removed, and the periodicity of adjustments. The automatic scaling policy for an instance group can comprise one or more automatic scaling rules.

Sourcetype nonrec t = {
  1. name : String_.t;
    (*

    The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

    *)
  2. description : String_.t option;
    (*

    A friendly, more verbose description of the automatic scaling rule.

    *)
  3. action : ScalingAction.t;
    (*

    The conditions that trigger an automatic scaling activity.

    *)
  4. trigger : ScalingTrigger.t;
    (*

    The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> name:String_.t -> action:ScalingAction.t -> trigger:ScalingTrigger.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Double of NonNegativeDouble.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of 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