ScalingPolicyCustomizedMetricSpecification

data class ScalingPolicyCustomizedMetricSpecification(val dimensions: List<ScalingPolicyMetricDimension>? = null, val metricName: String, val namespace: String, val statistic: String, val unit: String? = null)

Constructors

constructor(dimensions: List<ScalingPolicyMetricDimension>? = null, metricName: String, namespace: String, statistic: String, unit: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The dimensions of the metric. Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Link copied to clipboard

The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics .

Link copied to clipboard

The namespace of the metric.

Link copied to clipboard

The statistic of the metric.

Link copied to clipboard
val unit: String? = null

The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference .