AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AutoScalingPlans::ScalingPlan

CfnScalingPlan

The `AWS::AutoScalingPlans::ScalingPlan` resource defines an AWS Auto Scaling scaling plan. A scaling plan is used to scale application resources to size them appropriately to ensure that enough resource is available in the application at peak times and to reduce allocated resource during periods of low utilization. The following resources can be added to a scaling plan: - Amazon EC2 Auto Scaling groups - Amazon EC2 Spot Fleet requests - Amazon ECS services - Amazon DynamoDB tables and global secondary indexes - Amazon Aurora Replicas For more information, see the [Scaling Plans User Guide](https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-a-scaling-plan.html)

Import

import { CfnScalingPlan } from 'aws-cdk-lib/aws-autoscalingplans';

Or use the module namespace:

import * as autoscalingplans from 'aws-cdk-lib/aws-autoscalingplans';
// autoscalingplans.CfnScalingPlan

Properties

Configuration passed to the constructor as CfnScalingPlanProps.

applicationSourceRequired
IResolvable | ApplicationSourceProperty

A CloudFormation stack or a set of tags. You can create one scaling plan per application source. The `ApplicationSource` property must be present to ensure interoperability with the AWS Auto Scaling console.

scalingInstructionsRequired
IResolvable | IResolvable | ScalingInstructionProperty[]

The scaling instructions.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-autoscalingplans
CFN TypeAWS::AutoScalingPlans::ScalingPlan
Properties2

External Links