aws-cdk.aws-s3
The CDK Construct Library for AWS::S3
Decision gist · record as of 2026-08-14
No, unless you are maintaining an existing AWS CDK v1 project. The package is end-of-support as of 2023-06-01 and will not receive updates. New projects should use AWS CDK v2 instead. If you are already on v1, plan a migration to v2 to ensure ongoing security and feature support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS CDK v1 core library and Python 3.7 or later; AWS CDK v1 is end-of-support as of 2023-06-01.
- Low install friction with 9 runtime dependencies, all from the AWS CDK ecosystem.
- However, the package is no longer maintained—AWS CDK v1 reached end-of-support on 2023-06-01 and users are directed to migrate to AWS CDK v2.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions, provided the license and copyright notice are retained.
last release 2023-06-19 (1152 days) · last repo commit 2026-08-14 · 12,868 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 186,475 downloads/mo, #9,986 on PyPI
Alternatives
Verify before relying
pip install aws-cdk.aws-s3
from aws_cdk import aws_s3 as s3
from aws_cdk import core as cdk
class MyStack(cdk.Stack):
def __init__(self, scope: cdk.Construct, id: str, **kwargs):
super().__init__(scope, id, **kwargs)
bucket = s3.Bucket(self, "MyBucket")- Whether existing CDK v1 projects can safely remain on this package long-term or if security/compatibility issues will emerge post-support.
- Migration effort and breaking changes when upgrading to AWS CDK v2 for projects currently using this package.
What it is and what it does
aws-cdk.aws-s3 is the AWS CDK v1 construct library for defining Amazon S3 buckets and related infrastructure as Python code. It provides a high-level abstraction over CloudFormation S3 resources, letting you create, configure, and manage buckets programmatically within a CDK stack. The library supports encryption (KMS and managed), bucket policies, permissions grants, event notifications, and importing existing buckets.
However, this package is no longer maintained. AWS CDK v1 reached end-of-support on 2023-06-01, and AWS recommends migrating to AWS CDK v2. While the package remains installable and functional, it will not receive security updates, bug fixes, or new features. Existing projects using it should plan a migration path to v2.
Use it for
- Define S3 buckets with encryption and access policies as part of a CDK infrastructure stack.
- Set up bucket notifications to trigger Lambda functions or SNS topics on object creation or deletion events.
- Grant read/write permissions to other AWS resources (Lambda, EC2 roles, IAM users) via bucket grant methods.
- Import and reference existing S3 buckets into a CDK application for cross-stack resource sharing.
- Configure bucket-level security settings such as SSL enforcement and KMS encryption in code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining an existing AWS CDK v1 project.
The package is end-of-support as of 2023-06-01 and will not receive updates. New projects should use AWS CDK v2 instead. If you are already on v1, plan a migration to v2 to ensure ongoing security and feature support.
Install
aws-cdk-aws-s3 on PyPI
Before you install
Low install friction with 9 runtime dependencies, all from the AWS CDK ecosystem. However, the package is no longer maintained—AWS CDK v1 reached end-of-support on 2023-06-01 and users are directed to migrate to AWS CDK v2.
Requires AWS CDK v1 core library and Python 3.7 or later; AWS CDK v1 is end-of-support as of 2023-06-01.
License in practice
Licensed under Apache-2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions, provided the license and copyright notice are retained.
Quickstart
pip install aws-cdk.aws-s3
from aws_cdk import aws_s3 as s3
from aws_cdk import core as cdk
class MyStack(cdk.Stack):
def __init__(self, scope: cdk.Construct, id: str, **kwargs):
super().__init__(scope, id, **kwargs)
bucket = s3.Bucket(self, "MyBucket")
Verify before relying
- Whether existing CDK v1 projects can safely remain on this package long-term or if security/compatibility issues will emerge post-support.
- Migration effort and breaking changes when upgrading to AWS CDK v2 for projects currently using this package.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release ~=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesaws-cdk.aws-eventsaws-cdk.aws-iamaws-cdk.aws-kmsaws-cdk.coreaws-cdk.cx-apiconstructsjsiipublicationtypeguard |
| Maintenance | Actively maintained 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 186,475 / month, #9,986 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: aws_cdk.aws_s3-1.204.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “AWS S3 bucket infrastructure as code”
- aws-cdk.aws-s3Defines AWS S3 buckets and related resources as code using the AWS…
- aws-cdk.aws-s3-deploymentDeploys files and directories to AWS S3 buckets as part of AWS CDK…
- aws-cdk.aws-s3tables-alphaProvides AWS CDK constructs for defining and managing Amazon S3…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also aws-cdk.aws-cloudfront · aws-cdk.aws-codebuild · aws-cdk.aws-kms · aws-cdk.aws-lambda · aws-cdk.aws-s3tables-alpha · aws-cdk-lib · aws-cdk.region-info · s3urls · aws-cdk.aws-s3-deployment · git-remote-s3