AWS Fundamentals Logo
AWS Fundamentals
AWS::ApplicationAutoScaling::ScalableTarget

ApplicationAutoScaling ScalableTarget

The AWS::ApplicationAutoScaling::ScalableTarget resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource. For more information, see [Getting started](https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html) in the *Application Auto Scaling User Guide*. If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource w...

Properties

8 configurable properties. 5 required. Click a row to see details.

Filter:
PropertyTypeFlags
MaxCapacity
integer
Required
MinCapacity
integer
Required
ResourceId
string
RequiredCreate-only
ScalableDimension
string
RequiredCreate-only
ServiceNamespace
string
RequiredCreate-only
RoleARN
string
Write-only
ScheduledActions
Array<ScheduledAction>
SuspendedState
SuspendedState

Return Values

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

AttributeTypeDescription
Idstring-

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::ScalableTarget

Resources:
  MyResource:
    Type: AWS::ApplicationAutoScaling::ScalableTarget
    Properties:
      ResourceId: "my-resourceid"
      ServiceNamespace: "my-servicenamespace"
      ScalableDimension: "value"
      MinCapacity: 1
      MaxCapacity: 1

Required IAM Permissions

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

read

application-autoscaling:DescribeScalableTargetsapplication-autoscaling:DescribeScheduledActions

create

application-autoscaling:DescribeScalableTargetsapplication-autoscaling:RegisterScalableTargetapplication-autoscaling:DescribeScheduledActionsapplication-autoscaling:PutScheduledActioniam:PassRoleiam:CreateServiceLinkedRolecloudwatch:PutMetricAlarmcloudwatch:DeleteAlarms

update

application-autoscaling:RegisterScalableTargetapplication-autoscaling:DescribeScalableTargetsapplication-autoscaling:DescribeScheduledActionsapplication-autoscaling:DeleteScheduledActionapplication-autoscaling:PutScheduledActioncloudwatch:PutMetricAlarmcloudwatch:DeleteAlarmscloudwatch:DescribeAlarms

list

application-autoscaling:DescribeScalableTargets

delete

application-autoscaling:DeregisterScalableTarget

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
Properties9
Required5
TaggingNot supported
Primary IDResourceId

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

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

ResourceIdScalableDimensionServiceNamespace

Related Resources

External Links