ScalingPolicyTargetTrackingMetricArgs

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

Represents a specific metric for a target tracking scaling policy for Application Auto Scaling. Metric is a property of the AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat property type.

Constructors

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

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 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>? = null

The name of the metric.

Link copied to clipboard
val namespace: Output<String>? = null

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

Functions

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