--- id: aws-cdk-aws-applicationautoscaling version: "1.204.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.aws-applicationautoscaling — The CDK Construct Library for AWS::ApplicationAutoScaling License: permissive · Maintenance: active · Downloads: 169.2K/mo ## 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 above — 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 pip install aws-cdk-aws-applicationautoscaling uv add aws-cdk-aws-applicationautoscaling 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_current - Install friction: low - Maintenance: active - Downloads: 169.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags AWS autoscaling CDK, application auto scaling constructs, ECS DynamoDB Lambda scaling, metric-based scaling policies, target tracking scaling, scheduled capacity scaling, AWS CDK v1 autoscaling, aws-cdk, end-of-support, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/aws-cdk-aws-applicationautoscaling) · [View on PyPI](https://pypi.org/project/aws-cdk-aws-applicationautoscaling/)