Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Auto Scaling ScalingPolicy CustomizedMetricSpecification

The CustomizedMetricSpecification property configures a customized metric for a target tracking policy in Auto Scaling. CustomizedMetricSpecification is a subproperty of the Auto Scaling ScalingPolicy TargetTrackingConfiguration property.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "Dimensions" : [ MetricDimension, ...], "MetricName" : String, "Namespace" : String, "Statistic" : String, "Unit" : String }

YAML

Copy
Dimensions: - MetricDimension MetricName: String Namespace: String Statistic: String Unit: String

Properties

Dimensions

The dimensions of the metric. Duplicates not allowed.

Required: No

Type: List of Auto Scaling ScalingPolicy MetricDimension

Update requires: No interruption

MetricName

The name of the metric.

Required: Yes

Type: String

Update requires: No interruption

Namespace

The namespace of the metric.

Required: Yes

Type: String

Update requires: No interruption

Statistic

The statistic of the metric.

For valid values, see CustomizedMetricSpecification in the Auto Scaling API Reference.

Required: Yes

Type: String

Update requires: No interruption

Unit

The unit of the metric.

Required: No

Type: String

Update requires: No interruption

On this page: