aws-cdk.aws-elasticloadbalancing
The CDK Construct Library for AWS::ElasticLoadBalancing
Decision gist · record as of 2026-08-14
No, unless you are maintaining an existing AWS CDK v1 codebase. This package is end-of-support as of 2023-06-01 and no longer receives updates. New projects should use AWS CDK v2 and its corresponding elasticloadbalancing constructs instead. Adopting this package now would require a migration effort in the near term.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; AWS CDK v1 is end-of-support and users should plan migration to v2.
- Low install friction with stable dependencies.
- However, this package reached end-of-support on 2023-06-01 and is no longer being updated; AWS recommends migrating to AWS CDK v2 instead.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2023-06-19 (1152 days) · last repo commit 2026-08-14 · 12,868 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 151,718 downloads/mo, #10,923 on PyPI
Alternatives
Verify before relying
pip install aws-cdk.aws-elasticloadbalancing==1.204.0
from aws_cdk import aws_elasticloadbalancing as elb
lb = elb.LoadBalancer(self, "LB",
vpc=vpc,
internet_facing=True,
health_check=elb.HealthCheck(port=80)
)
lb.add_target(my_auto_scaling_group)
lb.add_listener(external_port=80)- Whether existing v1 code can coexist safely with v2 CDK packages in the same project
- Specific migration effort and timeline for moving from v1 to v2 constructs
What it is and what it does
This package provides AWS CDK v1 constructs for defining classic Elastic Load Balancers in Python. It lets you declare load balancers, configure listeners on specific ports, set up health checks, and attach AutoScaling groups as targets—all as infrastructure-as-code rather than manual AWS console configuration. The package depends on aws-cdk.core and aws-cdk.aws-ec2, integrating with the broader CDK ecosystem.
Critically, AWS CDK v1 reached end-of-support on 2023-06-01 and this package is no longer maintained. The last release was 2023-06-19. While the code remains functional and has no known vulnerabilities, AWS explicitly recommends migrating to AWS CDK v2 for new projects and existing deployments. Using this package locks you into a deprecated major version.
Use it for
- Define classic load balancers and routing rules in CDK v1 projects that predate the v2 migration
- Manage health checks and listener configuration for EC2-based fleets as code
- Attach AutoScaling groups to load balancers with security group rules via CDK constructs
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining an existing AWS CDK v1 codebase.
This package is end-of-support as of 2023-06-01 and no longer receives updates. New projects should use AWS CDK v2 and its corresponding elasticloadbalancing constructs instead. Adopting this package now would require a migration effort in the near term.
Install
aws-cdk-aws-elasticloadbalancing on PyPI
Before you install
Low install friction with stable dependencies. However, this package reached end-of-support on 2023-06-01 and is no longer being updated; AWS recommends migrating to AWS CDK v2 instead.
Requires Python 3.7 or later; AWS CDK v1 is end-of-support and users should plan migration to v2.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install aws-cdk.aws-elasticloadbalancing==1.204.0
from aws_cdk import aws_elasticloadbalancing as elb
lb = elb.LoadBalancer(self, "LB",
vpc=vpc,
internet_facing=True,
health_check=elb.HealthCheck(port=80)
)
lb.add_target(my_auto_scaling_group)
lb.add_listener(external_port=80)
Verify before relying
- Whether existing v1 code can coexist safely with v2 CDK packages in the same project
- Specific migration effort and timeline for moving from v1 to v2 constructs
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release ~=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesaws-cdk.aws-ec2aws-cdk.coreconstructsjsiipublicationtypeguard |
| Maintenance | Actively maintained 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 151,718 / month, #10,923 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: aws_cdk.aws_elasticloadbalancing-1.204.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “elastic load balancing constructs”
- aws-cdk.aws-elasticloadbalancingProvides AWS CDK constructs for configuring and managing classic…
- aws-cdk.aws-elasticloadbalancingv2Provides AWS CDK constructs for defining and configuring Application…
- aws-cdk.aws-globalacceleratorProvides AWS CDK constructs to define and manage AWS Global…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also aws-cdk.aws-elasticloadbalancingv2 · aws-cdk.aws-globalaccelerator · aws-cdk.aws-autoscaling-common · awsebcli · aws-cdk.aws-autoscaling · aws-cdk.aws-efs · aws-cdk.aws-ecs · aws-cdk.aws-imagebuilder · aws-cdk.aws-servicediscovery · aws-cdk.aws-ec2