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

AWS::AutoScalingPlans::ScalingPlan

Creates a scaling plan for AWS Auto Scaling. For more information, see the AWS Auto Scaling User Guide.

Syntax

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

JSON

{ "Type" : "AWS::AutoScalingPlans::ScalingPlan", "Properties" : { "ApplicationSource" : ApplicationSource, "ScalingInstructions" : [ ScalingInstruction, ... ] } }

YAML

Type: "AWS::AutoScalingPlans::ScalingPlan" Properties: ApplicationSource: ApplicationSource ScalingInstructions: - ScalingInstruction

Properties

ApplicationSource

A CloudFormation stack or a set of tags. You can create one scaling plan per application source.

Required: Yes

Type: AWS Auto Scaling ScalingPlan ApplicationSource

Update requires: No interruption

ScalingInstructions

The scaling instructions.

Required: Yes

Type: List of AWS Auto Scaling ScalingPlan ScalingInstruction property types

Update requires: No interruption

Return Values

Ref

When you pass the logical ID of an AWS::AutoScalingPlans::ScalingPlan resource to the intrinsic Ref function, the function returns the Amazon Resource Name (ARN) of the scaling plan. The format of the ARN is as follows:

arn:aws:autoscaling:region:123456789012:scalingPlan:scalingPlanName/plan-name:scalingPlanVersion/plan-version

For more information about using the Ref function, see Ref.