Values.TargetTrackingConfigurationSourceRepresents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.
type nonrec t = {predefinedMetricSpecification : PredefinedMetricSpecification.t option;A predefined metric. You must specify either a predefined metric or a customized metric.
*)customizedMetricSpecification : CustomizedMetricSpecification.t option;A customized metric. You must specify either a predefined metric or a customized metric.
*)targetValue : MetricScale.t;The target value for the metric. Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
*)disableScaleIn : DisableScaleIn.t option;Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.
*)}val make :
?predefinedMetricSpecification:??? ->
?customizedMetricSpecification:??? ->
?disableScaleIn:??? ->
targetValue:MetricScale.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of DisableScaleIn.t
| `Double of MetricScale.t
| `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 ]