AWS::ApplicationAutoScaling::ScalingPolicy PredictiveScalingPredefinedMetricPair - Amazon CloudFormation
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).

AWS::ApplicationAutoScaling::ScalingPolicy PredictiveScalingPredefinedMetricPair

Represents a metric pair for a predictive scaling policy.

The following predefined metrics are available for predictive scaling:

  • ECSServiceAverageCPUUtilization

  • ECSServiceAverageMemoryUtilization

  • ECSServiceCPUUtilization

  • ECSServiceMemoryUtilization

  • ECSServiceTotalCPUUtilization

  • ECSServiceTotalMemoryUtilization

  • ALBRequestCount

  • ALBRequestCountPerTarget

  • TotalALBRequestCount

Syntax

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

JSON

{ "PredefinedMetricType" : String, "ResourceLabel" : String }

YAML

PredefinedMetricType: String ResourceLabel: String

Properties

PredefinedMetricType

Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: No interruption

ResourceLabel

A label that uniquely identifies a specific target group from which to determine the total and average request count.

Required: No

Type: String

Minimum: 1

Maximum: 1023

Update requires: No interruption