ScalingPolicyCustomizedMetricSpecification

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

Constructors

constructor(dimensions: List<ScalingPolicyMetricDimension>? = null, metricName: String? = null, metrics: List<ScalingPolicyTargetTrackingMetricDataQuery>? = null, namespace: String? = null, statistic: String? = null, 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
val metricName: String? = null

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 metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.

Link copied to clipboard
val namespace: String? = null

The namespace of the metric.

Link copied to clipboard
val statistic: String? = null

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 .