Values.ScalingPolicySourceDescribes a scaling policy.
type nonrec t = {autoScalingGroupName : XmlStringMaxLen255.t option;The name of the Auto Scaling group.
*)policyName : XmlStringMaxLen255.t option;The name of the scaling policy.
*)policyARN : ResourceName.t option;The Amazon Resource Name (ARN) of the policy.
*)policyType : XmlStringMaxLen64.t option;One of the following policy types: TargetTrackingScaling StepScaling SimpleScaling (default) PredictiveScaling For more information, see Target tracking scaling policies and Step and simple scaling policies in the Amazon EC2 Auto Scaling User Guide.
*)adjustmentType : XmlStringMaxLen255.t option;Specifies how the scaling adjustment is interpreted (for example, an absolute number or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
*)minAdjustmentStep : MinAdjustmentStep.t option;Available for backward compatibility. Use MinAdjustmentMagnitude instead.
*)minAdjustmentMagnitude : MinAdjustmentMagnitude.t option;The minimum value to scale by when the adjustment type is PercentChangeInCapacity.
*)scalingAdjustment : PolicyIncrement.t option;The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
*)cooldown : Cooldown.t option;The duration of the policy's cooldown period, in seconds.
*)stepAdjustments : StepAdjustments.t option;A set of adjustments that enable you to scale based on the size of the alarm breach.
*)metricAggregationType : XmlStringMaxLen32.t option;The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average.
*)estimatedInstanceWarmup : EstimatedInstanceWarmup.t option;The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
*)alarms : Alarms.t option;The CloudWatch alarms related to the policy.
*)targetTrackingConfiguration : TargetTrackingConfiguration.t option;A target tracking scaling policy.
*)enabled : ScalingPolicyEnabled.t option;Indicates whether the policy is enabled (true) or disabled (false).
*)predictiveScalingConfiguration : PredictiveScalingConfiguration.t option;A predictive scaling policy.
*)}val make :
?autoScalingGroupName:??? ->
?policyName:??? ->
?policyARN:??? ->
?policyType:??? ->
?adjustmentType:??? ->
?minAdjustmentStep:??? ->
?minAdjustmentMagnitude:??? ->
?scalingAdjustment:??? ->
?cooldown:??? ->
?stepAdjustments:??? ->
?metricAggregationType:??? ->
?estimatedInstanceWarmup:??? ->
?alarms:??? ->
?targetTrackingConfiguration:??? ->
?enabled:??? ->
?predictiveScalingConfiguration:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of ScalingPolicyEnabled.t
| `Integer of MinAdjustmentStep.t
| `List of
[> `Structure of
(string
* [> `Double of MetricScale.t
| `Integer of PolicyIncrement.t
| `String of XmlStringMaxLen255.t ])
list ]
list
| `String of XmlStringMaxLen255.t
| `Structure of
(string
* [> `Boolean of DisableScaleIn.t
| `Double of MetricScale.t
| `Enum of string
| `Integer of PredictiveScalingSchedulingBufferTime.t
| `List of
[> `Structure of
(string
* [> `Double of MetricScale.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Boolean of ReturnData.t
| `String of XmlStringMaxLen255.t
| `Structure of
(string
* [> `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 ]
list
| `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 ])
list ]