aws-cdk.assets
This module is deprecated. All types are now available under the core module
What it is and what it does
aws-cdk.assets is a Python module for the AWS Cloud Development Kit (CDK) that handles asset management—packaging and versioning cloud infrastructure components defined in code. It integrates with aws-cdk.core, constructs, jsii, and other CDK runtime dependencies to enable developers to define AWS resources imperatively using Python, then synthesize and deploy them through AWS CloudFormation.
However, this package is explicitly deprecated. According to its own summary, all asset types are now available under the core module (aws-cdk.core), and new code should migrate away from aws-cdk.assets. The package has not been updated since June 2023 and carries an Inactive development status, indicating it is no longer actively maintained or recommended for new projects.
Use it for:
- Maintaining legacy CDK v1 Python projects that were built before asset functionality was consolidated into core.
- Migrating existing aws-cdk.assets code to aws-cdk.core as part of a CDK version upgrade.
- Understanding historical CDK architecture for teams still running older infrastructure-as-code deployments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings for AWS CDK asset management, allowing developers to define and package cloud infrastructure assets as code for deployment through AWS CloudFormation.
No. This package is deprecated and explicitly recommends using aws-cdk.core instead. It has not been updated since June 2023 and is marked as Inactive. New projects should use aws-cdk.core; existing projects should migrate away from aws-cdk.assets. Install only if maintaining legacy CDK v1 code that cannot yet be upgraded.
Install
aws-cdk-assets on PyPI
pip
pip install aws-cdk-assetsuv
uv add aws-cdk-assetspoetry
poetry add aws-cdk-assetsInstalling aws-cdk.assets
Before you install
Low install friction with a wheel distribution. The package is marked inactive (Development Status :: 7) and was last released on 2023-06-19, over 1152 days ago. The summary explicitly states this module is deprecated and types are now available under the core module, making it unsuitable for new projects.
License in practice
Licensed under Apache-2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions—typical for AWS open-source projects.
Quickstart
pip install aws-cdk.assets==1.204.0
from aws_cdk import assets
from aws_cdk.core import Stack
# Define assets in a CDK stack
my_asset = assets.Asset(self, "MyAsset", path="./my-asset")
This package is deprecated; the summary states all types are now available under aws-cdk.core. New projects should use aws-cdk.core instead of aws-cdk.assets.
Verify before relying
- Whether aws-cdk.core fully replaces aws-cdk.assets functionality and migration path for existing code.
- Current maintenance status and whether security patches are still applied despite the inactive classifier.
- Compatibility guarantees with modern AWS CDK versions beyond 1.204.0.
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 — aws-cdk.core, aws-cdk.cx-api, constructs, jsii, publication, typeguard |
| Maintenance | actively maintained — 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 170,702/month — #10,388 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.assets-1.204.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
aws-cdk.aws-cloudformationDefines AWS CloudFormation resources…
permissive · top 15,000 on PyPI
cognite-toolkitA command-line tool for configuring,…
permissive · top 15,000 on PyPI
cdk8scdk8s is a framework for defining Kubernetes…
permissive · top 15,000 on PyPI
aws-cdk.cx-apiProvides the cloud executable protocol and…
permissive · top 15,000 on PyPI
aws-cdk.coreProvides the core construct classes and stack…
permissive · top 15,000 on PyPI
aws-cdk.cloud-assembly-schemaProvides the schema and structures for AWS CDK…
permissive · top 5,000 on PyPI
aws-cdk.aws-imagebuilderProvides AWS CDK L1 constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-samProvides AWS CDK v1 constructs for defining…
permissive · top 15,000 on PyPI
aws-cdk-libProvides Python APIs to define and deploy AWS…
permissive · top 5,000 on PyPI
constructsConstructs is a programming model for defining…
permissive · top 5,000 on PyPI