AWS Fundamentals Logo
AWS Fundamentals
AWS::ApplicationAutoScaling::ScalingPolicy

ApplicationAutoScaling ScalingPolicy

The AWS::ApplicationAutoScaling::ScalingPolicy resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target. For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Applicati...

Properties

9 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
PolicyName
string
RequiredCreate-only
PolicyType
string
Required
PredictiveScalingPolicyConfiguration
PredictiveScalingPolicyConfiguration
ResourceId
string
Create-only
ScalableDimension
string
Create-only
ScalingTargetId
string
Create-onlyWrite-only
ServiceNamespace
string
Create-only
StepScalingPolicyConfiguration
StepScalingPolicyConfiguration
TargetTrackingScalingPolicyConfiguration
TargetTrackingScalingPolicyConfiguration

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApplicationAutoScaling::ScalingPolicy

Resources:
  MyResource:
    Type: AWS::ApplicationAutoScaling::ScalingPolicy
    Properties:
      PolicyName: "my-policyname"
      PolicyType: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

application-autoscaling:DescribeScalingPolicies

create

application-autoscaling:DescribeScalingPoliciesapplication-autoscaling:PutScalingPolicycloudwatch:GetMetricData

update

application-autoscaling:DescribeScalingPoliciesapplication-autoscaling:PutScalingPolicycloudwatch:GetMetricData

list

application-autoscaling:DescribeScalingPolicies

delete

application-autoscaling:DescribeScalingPoliciesapplication-autoscaling:DeleteScalingPolicy

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

ServiceApplicationAutoScaling
Properties10
Required2
TaggingNot supported
Primary IDArn

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

PolicyNameServiceNamespaceResourceIdScalableDimensionScalingTargetId

Related Resources

External Links