--- id: aws-cdk-assets version: "1.204.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.assets — This module is deprecated. All types are now available under the core module License: permissive · Maintenance: active · Downloads: 170.7K/mo ## 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 above — 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 pip install aws-cdk-assets uv add aws-cdk-assets 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_current - Install friction: low - Maintenance: active - Downloads: 170.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags AWS CDK assets Python, cloud infrastructure as code, AWS CloudFormation templates, CDK construct library, infrastructure provisioning Python, AWS resource definitions, cloud deployment automation, deprecated, aws-infrastructure, legacy [View on SkillFed](https://skillfed.io/packages/aws-cdk-assets) · [View on PyPI](https://pypi.org/project/aws-cdk-assets/)