Metric - Amazon EC2 Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Metric

Represents a specific metric.

Metric is a property of the MetricStat object.

Contents

MetricName

The name of the metric.

Type: String

Required: Yes

Namespace

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

Type: String

Required: Yes

Dimensions.member.N

The dimensions for the metric. For the list of available dimensions, see the Amazon documentation available from the table in Amazon 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.

Type: Array of MetricDimension objects

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: