ScalingPolicyMetricArgs

data class ScalingPolicyMetricArgs(val dimensions: Output<List<ScalingPolicyMetricDimensionArgs>>? = null, val metricName: Output<String>, val namespace: Output<String>) : ConvertibleToJava<ScalingPolicyMetricArgs>

Constructors

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

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
val metricName: Output<String>

The name of the metric.

Link copied to clipboard
val namespace: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): ScalingPolicyMetricArgs