ScalingPolicyTargetTrackingMetricStat

data class ScalingPolicyTargetTrackingMetricStat(val metric: ScalingPolicyMetric, val stat: String, val unit: String? = null)

Constructors

Link copied to clipboard
constructor(metric: ScalingPolicyMetric, stat: String, unit: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The metric to use.

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
val unit: String? = null

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 .