skillfed

aws-cdk.assets

This module is deprecated. All types are now available under the core module

aws-cdk-assets v1.204.0 170.7K downloads/30d#10,388 on PyPI12,868
Permissive license Apache-2.0 Active released

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-assets

uv

uv add aws-cdk-assets

poetry

poetry add aws-cdk-assets

Installing 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

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 CDK assets Pythoncloud infrastructure as codeAWS CloudFormation templatesCDK construct libraryinfrastructure provisioning PythonAWS resource definitionscloud deployment automation
deprecatedaws-infrastructurelegacy

More Build Tools packages