Values.ScalingRuleSourceA 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.
type nonrec t = {name : String_.t;The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
*)description : String_.t option;A friendly, more verbose description of the automatic scaling rule.
*)action : ScalingAction.t;The conditions that trigger an automatic scaling activity.
*)trigger : ScalingTrigger.t;The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
*)}val make :
?description:??? ->
name:String_.t ->
action:ScalingAction.t ->
trigger:ScalingTrigger.t ->
unit ->
tval 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 ]