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

Application Auto Scaling ScalingPolicy CustomizedMetricSpecification

The CustomizedMetricSpecification property configures a customized metric for a target tracking policy in Application Auto Scaling. CustomizedMetricSpecification is a subproperty of the Application Auto Scaling ScalingPolicy TargetTrackingScalingPolicyConfiguration 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 Application 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 Application 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: