{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/4"}],"enrichment":{"capability":"Packages local files and directories for deployment to S3 as part of AWS CDK applications, handling asset bundling, hashing, and CloudFormation parameter injection.","skillfed_tags":["aws-cdk","infrastructure-as-code","end-of-life"],"use_cases":["Package Lambda function handler code and dependencies into a zip file for upload to S3 during CDK deployment","Bundle static web assets or configuration files and inject their S3 URLs into CloudFormation stacks","Use Docker containers to preprocess assets (e.g., compile TypeScript, minify CSS) before uploading to S3","Grant IAM roles read permissions on deployed assets using the grantRead() method for runtime access","Export asset S3 locations as stack outputs for reference by other stacks or external tools"],"what_it_does":"aws-cdk.aws-s3-assets is a component of AWS CDK v1 that automates the packaging and deployment of local files and directories to S3 during CDK stack synthesis. When you define an Asset construct pointing to a local path, the toolkit automatically archives the content (if it's a directory), calculates an MD5 hash, uploads it to an environment-specific S3 bucket, and injects the S3 location as CloudFormation parameters into your stacks. This is commonly used to bundle Lambda function code, static assets, or any artifact needed by your infrastructure.\n\nThe package supports optional Docker-based bundling for preprocessing assets before upload\u2014for example, compiling code, converting file formats, or installing dependencies. You can also implement local bundling providers to avoid Docker overhead. Assets expose deploy-time attributes like bucket name, object key, and HTTP URL that can be referenced in your stack outputs or passed to other constructs. The package integrates deeply with CDK's synthesis and deployment pipeline, handling asset versioning and deduplication transparently.","worth_installing":"No\u2014this package is part of AWS CDK v1, which reached End-of-Support on 2023-06-01 and is no longer being updated. AWS explicitly recommends migrating to AWS CDK v2. Install only if maintaining legacy v1 infrastructure; for new projects or migrations, use the v2 equivalent instead."},"id":"aws-cdk-aws-s3-assets","links":{"html":"https://skillfed.io/packages/aws-cdk-aws-s3-assets","md":"https://skillfed.io/packages/aws-cdk-aws-s3-assets.md","pypi":"https://pypi.org/project/aws-cdk-aws-s3-assets/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-06-19","license_spdx":null,"license_treatment":"permissive","name":"aws-cdk.aws-s3-assets","python_support":"supports_current","summary":"Deploy local files and directories to S3"},"popularity":{"monthly_downloads":184821,"position":10024,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.204.0"}
