Scaling Policy Customized Metric Specification Args
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
Link copied to clipboard
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
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
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 .