This library provides constructs to deploy contents to S3 buckets, supporting various source types like local files, Docker images, and existing buckets. Version 1.204.0 is part of the AWS CDK v1 (legacy) and receives critical updates only. Users are strongly advised to migrate to AWS CDK v2 (package: aws-cdk-lib).
pip install aws-cdk-aws-s3-deployment==1.204.0No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Deploy files from local directory to an S3 bucket.
Migrate to aws-cdk-lib and use from aws_cdk.aws_s3_deployment import BucketDeployment (same import path).
Define a Bucket before BucketDeployment and pass it as destination_bucket.
Run cdk deploy from a directory where the asset path is accessible.
Install: pip install aws-cdk-aws-s3-deployment (v1) OR use CDK v2 with pip install aws-cdk-lib.
Upgrade to latest version: pip install --upgrade aws-cdk-aws-s3-deployment. In CDK v2, use from aws_cdk.aws_s3_deployment import BucketDeployment.