skillfed

aws-cdk.aws-applicationautoscaling

The CDK Construct Library for AWS::ApplicationAutoScaling

aws-cdk-aws-applicationautoscaling v1.204.0 169.2K downloads/30d#10,425 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

This is the AWS CDK v1 construct library for Application Auto Scaling, which lets you define autoscaling policies for AWS services other than EC2—such as ECS task counts, DynamoDB read/write capacity, Lambda provisioned concurrency, and RDS Aurora replicas. It abstracts away the underlying CloudWatch alarms and autoscaling policies, letting you configure scaling in three ways: in response to metrics (step scaling), by targeting a specific utilization level (target tracking), or on a fixed schedule.

The library is designed primarily for use by other CDK construct libraries rather than direct application code. It depends on aws-cdk.core, constructs, jsii, and CloudWatch integration. However, the package reached end-of-support on 2023-06-01 and is no longer being updated; AWS recommends migrating to AWS CDK v2 for new projects.

Use it for:

  • Scale ECS task counts up or down based on CPU utilization or custom CloudWatch metrics.
  • Configure DynamoDB read/write capacity autoscaling with target utilization targets (e.g., keep at 60% utilization).
  • Set up Lambda provisioned concurrency scaling to handle variable traffic patterns.
  • Schedule capacity changes for predictable traffic patterns (scale up mornings, scale down evenings).
  • Define multi-step scaling policies that respond differently to metric thresholds.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides CDK constructs for configuring autoscaling policies on AWS services like ECS, DynamoDB, Lambda, and RDS—scaling based on metrics, target utilization, or schedules.

No—do not install for new projects. This is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer maintained. Existing v1 users should migrate to AWS CDK v2. If you are already locked into CDK v1, the package is stable and has no known vulnerabilities, but you should plan a migration path.

Install

aws-cdk-aws-applicationautoscaling on PyPI

pip

pip install aws-cdk-aws-applicationautoscaling

uv

uv add aws-cdk-aws-applicationautoscaling

poetry

poetry add aws-cdk-aws-applicationautoscaling

Installing aws-cdk.aws-applicationautoscaling

Before you install

Low install friction; pure Python wheel with standard CDK dependencies. However, the package is no longer maintained—AWS CDK v1 reached end-of-support on 2023-06-01 and users should migrate to AWS CDK v2.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install aws-cdk.aws-applicationautoscaling

import aws_cdk.aws_applicationautoscaling as appscaling

capacity = resource.auto_scale_capacity(min_capacity=5, max_capacity=100)
capacity.scale_on_metric("ScaleToCPU", metric=cpu_metric, scaling_steps=[...])

Requires Python 3.7 or later. Package is end-of-support; new projects should use AWS CDK v2 instead.

Verify before relying

  • Whether migration tooling or compatibility layer exists for moving from v1 to v2.
  • Current security patch status and timeline for v1 end-of-life support.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (~=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 8 — aws-cdk.aws-autoscaling-common, aws-cdk.aws-cloudwatch, aws-cdk.aws-iam, aws-cdk.core, constructs, jsii, publication, typeguard
Maintenance actively maintained — 1,152 days since the last release
Last repo commit
First released
Downloads 169,224/month — #10,425 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk.aws_applicationautoscaling-1.204.0-py3-none-any.whl

Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Tags

AWS autoscaling CDKapplication auto scaling constructsECS DynamoDB Lambda scalingmetric-based scaling policiestarget tracking scalingscheduled capacity scalingAWS CDK v1 autoscaling
aws-cdkend-of-supportinfrastructure-as-code

More Build Tools packages

packaging

Provides reusable utilities for Python…

permissive · top 100 on PyPI

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

pip

pip is the standard installer for Python…

permissive · top 100 on PyPI

hatchling

Hatchling is a standards-compliant Python build…

permissive · top 100 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

pre-commit

pre-commit is a framework for installing and…

permissive · top 1,000 on PyPI

aws-cdk.aws-autoscaling

Provides CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-autoscaling-common

Provides shared internal implementation details…

permissive · top 15,000 on PyPI

aws-cdk.aws-dynamodb

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI

aws-cdk.aws-autoscaling-hooktargets

Provides integration classes for AWS…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecs

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-cloudwatch

Defines CloudWatch metrics, alarms, and…

permissive · top 15,000 on PyPI

aws-cdk.aws-logs

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

ecs-deploy

ecs-deploy is a CLI tool that simplifies Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-imagebuilder

Provides AWS CDK L1 constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-lambda

Defines AWS Lambda functions and layers as…

permissive · top 15,000 on PyPI