@swamp/aws/applicationautoscaling
v2026.04.23.3
AWS APPLICATIONAUTOSCALING infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
awsapplicationautoscalingcloudinfrastructure
Contents
Quality score
Verified by SwampHow well-documented and verifiable this extension is.
Grade A
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
Install
$ swamp extension pull @swamp/aws/applicationautoscaling@swamp/aws/applicationautoscaling/scalable-targetv2026.04.23.2scalable_target.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| ScheduledActions? | array | The scheduled actions for the scalable target. Duplicates aren't allowed. |
| ResourceId | string | The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instan |
| ServiceNamespace | string | The namespace of the AWS service that provides the resource, or a custom-resource. |
| ScalableDimension | string | The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The task count of an ECS service. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned r |
| SuspendedState? | object | An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true suspends the specified scaling activities. Setting it to false (default) resumes the specified scaling activities. *Suspension Outcomes* For DynamicScalingInSuspended, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended. For DynamicScalingOutSuspended, while a suspension is in ef |
| MinCapacity | number | The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. |
| RoleARN? | string | Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_ia |
| MaxCapacity | number | The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand. |
createCreate a ApplicationAutoScaling ScalableTarget
getGet a ApplicationAutoScaling ScalableTarget
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ApplicationAutoScaling ScalableTarget |
updateUpdate a ApplicationAutoScaling ScalableTarget
deleteDelete a ApplicationAutoScaling ScalableTarget
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ApplicationAutoScaling ScalableTarget |
syncSync ApplicationAutoScaling ScalableTarget state from AWS
Resources
state(infinite)— ApplicationAutoScaling ScalableTarget resource state
@swamp/aws/applicationautoscaling/scaling-policyv2026.04.23.2scaling_policy.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| PolicyType | string | The scaling policy type. The following policy types are supported: TargetTrackingScaling —Not supported for Amazon EMR StepScaling —Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune. PredictiveScaling —Only supported for Amazon ECS |
| ResourceId? | string | The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. EMR cluster - The resource type is instanc |
| ScalingTargetId? | string | The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the AWS::ApplicationAutoScaling::ScalableTarget resource. You must specify either the ScalingTargetId property, or the ResourceId, ScalableDimension, and ServiceNamespace properties, but not both. |
| PolicyName | string | The name of the scaling policy. Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing AWS::ApplicationAutoScaling::ScalingPolicy resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name. |
| ServiceNamespace? | string | The namespace of the AWS service that provides the resource, or a custom-resource. |
| ScalableDimension? | string | The scalable dimension. This string consists of the service namespace, resource type, and scaling property. ecs:service:DesiredCount - The task count of an ECS service. elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. d |
| TargetTrackingScalingPolicyConfiguration? | object | A target tracking scaling policy. |
| StepScalingPolicyConfiguration? | object | A step scaling policy. |
| PredictiveScalingPolicyConfiguration? | object | The predictive scaling policy configuration. |
createCreate a ApplicationAutoScaling ScalingPolicy
getGet a ApplicationAutoScaling ScalingPolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ApplicationAutoScaling ScalingPolicy |
updateUpdate a ApplicationAutoScaling ScalingPolicy
deleteDelete a ApplicationAutoScaling ScalingPolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the ApplicationAutoScaling ScalingPolicy |
syncSync ApplicationAutoScaling ScalingPolicy state from AWS
Resources
state(infinite)— ApplicationAutoScaling ScalingPolicy resource state
2026.04.23.2410.6 KBApr 23, 2026
AWS APPLICATIONAUTOSCALING infrastructure models
Release Notes
- Updated: scalable_target, scaling_policy
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
awsapplicationautoscalingcloudinfrastructure
2026.04.03.2413.0 KBApr 3, 2026
AWS APPLICATIONAUTOSCALING infrastructure models
Release Notes
- Updated: scalable_target, scaling_policy
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
awsapplicationautoscalingcloudinfrastructure
2026.03.19.1437.6 KBMar 19, 2026
AWS APPLICATIONAUTOSCALING infrastructure models
Release Notes
- Updated: scalable_target, scaling_policy
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
awsapplicationautoscalingcloudinfrastructure
2026.03.16.1427.5 KBMar 16, 2026
AWS APPLICATIONAUTOSCALING infrastructure models
Release Notes
- Updated: scalable_target, scaling_policy
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
awsapplicationautoscalingcloudinfrastructure
2026.03.10.5425.5 KBMar 10, 2026
AWS APPLICATIONAUTOSCALING infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
awsapplicationautoscalingcloudinfrastructure