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

AWS Auto Scaling ScalingPlan PredefinedLoadMetricSpecification

The PredefinedLoadMetricSpecification property type specifies a predefined load metric for predictive scaling to use with AWS Auto Scaling.

PredefinedLoadMetricSpecification is a property of the ScalingInstruction property type.

Syntax

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

JSON

{ "PredefinedLoadMetricType" : String, "ResourceLabel" : String }

Properties

PredefinedLoadMetricType

The metric type. For more information, see PredefinedLoadMetricSpecification in the AWS Auto Scaling API Reference.

Required: Yes

Type: String

Update requires: No interruption

ResourceLabel

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group for an Application Load Balancer attached to the Auto Scaling group.

The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN.

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

Required: No

Type: String

Update requires: No interruption

On this page: