ScalingPolicyCustomizedMetricSpecificationArgs

data class ScalingPolicyCustomizedMetricSpecificationArgs(val dimensions: Output<List<ScalingPolicyMetricDimensionArgs>>? = null, val metricName: Output<String>? = null, val metrics: Output<List<ScalingPolicyTargetTrackingMetricDataQueryArgs>>? = null, val namespace: Output<String>? = null, val statistic: Output<String>? = null, val unit: Output<String>? = null) : ConvertibleToJava<ScalingPolicyCustomizedMetricSpecificationArgs>

Constructors

constructor(dimensions: Output<List<ScalingPolicyMetricDimensionArgs>>? = null, metricName: Output<String>? = null, metrics: Output<List<ScalingPolicyTargetTrackingMetricDataQueryArgs>>? = null, namespace: Output<String>? = null, statistic: Output<String>? = null, unit: Output<String>? = null)

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

The namespace of the metric.

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

The statistic of the metric.

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

Functions

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