ScalingPolicyTargetTrackingMetric

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

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: List<ScalingPolicyTargetTrackingMetricDimension>? = null, metricName: String? = null, namespace: String? = null)

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

The name of the metric.

Link copied to clipboard
val namespace: 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.