$npx skillfedfor your agent

aws-cdk-lib

Version 2 of the AWS Cloud Development Kit library

Worth itPyPI Build ToolsReleased Aug 20267.6M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aws_cdk_lib-2.265.0-py3-none-any.whl
v2.265.0 · released 2026-08-13 · Python >=3.10 · 6 runtime deps: aws-cdk.asset-awscli-v1, aws-cdk.asset-node-proxy-agent-v6, aws-cdk.cloud-assembly-schema, constructs, jsii, publication

Yes. aws-cdk-lib is production-stable (Development Status 5), actively maintained with recent updates, has no known vulnerabilities, and low installation friction. It is the standard library for Python-based AWS CDK v2 projects. Install it if you are building infrastructure-as-code applications on AWS and prefer Python over CloudFormation templates.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; AWS credentials and bootstrap configuration needed for actual deployment.
  • Low friction installation with a pure-Python wheel.
  • Actively maintained with a recent release (1 day old) and 12868 repository stars.

License · maintenance · safety

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

last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 12,868 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,577,580 downloads/mo, #1,721 on PyPI

Verify before relying

pip install aws-cdk-lib constructs

from aws_cdk import Stack, App
from aws_cdk import aws_s3 as s3

app = App()
stack = Stack(app, "MyStack")
s3.Bucket(stack, "MyBucket")
  • Whether the package handles all AWS service APIs or if some require separate modules.
  • Performance characteristics when synthesizing large stacks with hundreds of resources.
Same gist for agents: .md · .json

What it is and what it does

aws-cdk-lib is the core construct library for AWS CDK v2, a framework for defining cloud infrastructure in Python code rather than CloudFormation templates directly. It provides high-level abstractions (constructs) that map to AWS resources and services, letting you organize deployments into Stacks (physical CloudFormation units) and Stages (logical application instances). The library handles synthesis—converting your Python definitions into CloudFormation JSON—and manages asset handling, role configuration, and deployment orchestration through pluggable synthesizers.

You write Python classes that inherit from Stack, instantiate constructs for the AWS resources you need, and then synthesize and deploy. It supports both classic and barrel imports for different coding styles. The package depends on constructs (the base abstraction layer), jsii (for language bindings), and AWS CDK asset packages for CLI and Node.js tooling integration.

Use it for

  • Define multi-environment deployments by instantiating the same Stack class with different configurations for dev, staging, and production.
  • Build reusable infrastructure libraries as construct subclasses that teams can share across projects.
  • Manage complex infrastructure organized across multiple stacks without writing raw CloudFormation.
  • Automate infrastructure changes through version control and CI/CD pipelines using Python code review workflows.
  • Separate stateful and stateless resources into different stacks for independent lifecycle management.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

aws-cdk-lib is production-stable (Development Status 5), actively maintained with recent updates, has no known vulnerabilities, and low installation friction. It is the standard library for Python-based AWS CDK v2 projects. Install it if you are building infrastructure-as-code applications on AWS and prefer Python over CloudFormation templates.

Install

aws-cdk-lib on PyPI

Before you install

Low friction installation with a pure-Python wheel. Actively maintained with a recent release (1 day old) and 12868 repository stars. Requires Python 3.10 or later.

Requires Python 3.10 or later; AWS credentials and bootstrap configuration needed for actual deployment.

License in practice

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

Quickstart

pip install aws-cdk-lib constructs

from aws_cdk import Stack, App
from aws_cdk import aws_s3 as s3

app = App()
stack = Stack(app, "MyStack")
s3.Bucket(stack, "MyBucket")

Verify before relying

  • Whether the package handles all AWS service APIs or if some require separate modules.
  • Performance characteristics when synthesizing large stacks with hundreds of resources.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
aws-cdk.asset-awscli-v1aws-cdk.asset-node-proxy-agent-v6aws-cdk.cloud-assembly-schemaconstructsjsiipublication
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads7,577,580 / month, #1,721 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Evidence: aws_cdk_lib-2.265.0-py3-none-any.whl

Tags

Capabilities
infrastructure as code AWScloudformation pythonaws cloud deploymentdefine aws resources programmaticallycdk constructs libraryaws infrastructure automation
Topics
infrastructure-as-codeaws-cloudcloudformation

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 › “define aws resources programmatically”

  • aws-cdk-libProvides Python APIs to define and deploy AWS cloud infrastructure as…
  • aws-cdk.aws-s3Defines AWS S3 buckets and related resources as code using the AWS…
  • aws-cdk.aws-cloudformationDefines AWS CloudFormation resources programmatically in Python as…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

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.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

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.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

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.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

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.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also aws-cdk.aws-s3 · aws-cdk.core · aws-cdk.aws-cloudformation · cdk8s · aws-cdk.aws-apigateway · cdk-aurora-globaldatabase · sceptre · aws-cdk.custom-resources · aws-cdk.assets · constructs