AWS::ApplicationAutoScaling::ScalableTargetThe 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...
8 configurable properties. 5 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
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 |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
A minimal template with required properties and common optional ones.
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: 1Permissions CloudFormation needs in your IAM role to manage this resource.
application-autoscaling:DescribeScalableTargetsapplication-autoscaling:DescribeScheduledActionsapplication-autoscaling:DescribeScalableTargetsapplication-autoscaling:RegisterScalableTargetapplication-autoscaling:DescribeScheduledActionsapplication-autoscaling:PutScheduledActioniam:PassRoleiam:CreateServiceLinkedRolecloudwatch:PutMetricAlarmcloudwatch:DeleteAlarmsapplication-autoscaling:RegisterScalableTargetapplication-autoscaling:DescribeScalableTargetsapplication-autoscaling:DescribeScheduledActionsapplication-autoscaling:DeleteScheduledActionapplication-autoscaling:PutScheduledActioncloudwatch:PutMetricAlarmcloudwatch:DeleteAlarmscloudwatch:DescribeAlarmsapplication-autoscaling:DescribeScalableTargetsapplication-autoscaling:DeregisterScalableTargetOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterResourceIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ResourceIdScalableDimensionServiceNamespace