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

Amazon EC2 Auto Scaling ScalingPolicy CustomizedMetricSpecification

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

Syntax

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

JSON

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

YAML

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 Amazon EC2 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 Amazon EC2 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: