TargetTrackingMetricStat
¶
Source code in docs_src/capo_auto_scaling/types/target_tracking_metric_stat.py
period
instance-attribute
¶
period: NotRequired[MetricGranularityInSeconds]
The period of the metric in seconds. The default value is 60. Accepted values are 10, 30, and 60. For high resolution metric, set the value to less than 60. For more information, see Create a target tracking policy using high-resolution metrics for faster response.
stat
instance-attribute
¶
stat: NotRequired[XmlStringMetricStat]
The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.
The most commonly used metric for scaling is Average.
unit
instance-attribute
¶
unit: NotRequired[MetricUnit]
The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.