Scaling Policy Target Tracking Metric Stat Args
data class ScalingPolicyTargetTrackingMetricStatArgs(val metric: Output<ScalingPolicyMetricArgs>, val period: Output<Int>? = null, val stat: Output<String>, val unit: Output<String>? = null) : ConvertibleToJava<ScalingPolicyTargetTrackingMetricStatArgs>
Constructors
Link copied to clipboard
constructor(metric: Output<ScalingPolicyMetricArgs>, period: Output<Int>? = null, stat: Output<String>, unit: Output<String>? = null)
Properties
Link copied to clipboard
The metric to use.
Link copied to clipboard
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 .
Link copied to clipboard
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
.
Link copied to clipboard
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 .