ScalingPolicyMetric

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

Constructors

Link copied to clipboard
constructor(dimensions: List<ScalingPolicyMetricDimension>? = null, metricName: String, namespace: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in AWS services that publish CloudWatch metrics in the Amazon CloudWatch User Guide . 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.

Link copied to clipboard

The namespace of the metric. For more information, see the table in AWS services that publish CloudWatch metrics in the Amazon CloudWatch User Guide .