aws-cdk.aws-cloudformation
The CDK Construct Library for AWS::CloudFormation
What it is and what it does
This package is the AWS CloudFormation module of the AWS CDK v1, a framework for defining cloud infrastructure using Python code instead of templates. It provides high-level constructs that wrap CloudFormation resources, letting you compose AWS resources imperatively and synthesize them into CloudFormation templates for deployment. The package depends on core CDK modules (aws-cdk.core, aws-cdk.cx-api, constructs) and other AWS service modules (IAM, Lambda, S3, SNS) to enable multi-service infrastructure definitions.
You use it by importing constructs, instantiating them within a Stack, and then using the CDK CLI to synthesize or deploy. The package is part of the v1 line, which is marked inactive in its classifiers; AWS CDK v2 is the current recommended version for new projects. This module is suitable for maintaining existing v1 infrastructure code or for teams already invested in the v1 API.
Use it for:
- Synthesize Python infrastructure code into CloudFormation templates for version control and review
- Define reusable CloudFormation stacks as Python classes to share across projects
- Automate multi-service AWS deployments (IAM roles, Lambda functions, S3 buckets, SNS topics) from a single codebase
- Integrate infrastructure definition with application code in a single Python project
- Diff infrastructure changes before deployment using the CDK CLI
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Defines AWS CloudFormation resources programmatically in Python as part of the AWS CDK framework, allowing you to compose infrastructure constructs into stacks and synthesize them to CloudFormation templates.
Yes, if you are maintaining or extending existing AWS CDK v1 Python infrastructure code. No, if starting a new project—use AWS CDK v2 instead. The package is stable and permissively licensed, but its v1 status and inactive classifier indicate it is not receiving new feature development. Install only when required by an existing codebase or explicit organizational constraint.
Install
aws-cdk-aws-cloudformation on PyPI
pip
pip install aws-cdk-aws-cloudformationuv
uv add aws-cdk-aws-cloudformationpoetry
poetry add aws-cdk-aws-cloudformationInstalling aws-cdk.aws-cloudformation
Before you install
Low friction install with a pure-Python wheel. Active maintenance status with recent commits as of 2026-08-14. However, the package is marked Development Status 7 - Inactive in classifiers, which signals this is a legacy v1 release; v2 is the current active line.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install aws-cdk.aws-cloudformation
from aws_cdk import core as cdk
from aws_cdk.aws_cloudformation import CfnStack
app = cdk.App()
stack = cdk.Stack(app, "MyStack")
# Define CloudFormation resources via CDK constructs
app.synth()
Requires Python ≥ 3.7 and the AWS CDK CLI (npm-based) to synthesize and deploy. This is a v1 package; v2 is the current recommended version.
Verify before relying
- Whether v1 receives security patches or is in maintenance-only mode relative to v2
- Compatibility guarantees between v1.204.0 and current AWS service APIs
- Whether new AWS services are added to v1 or only to v2
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (~=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — aws-cdk.aws-iam, aws-cdk.aws-lambda, aws-cdk.aws-s3, aws-cdk.aws-sns, 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 | 160,142/month — #10,671 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.aws_cloudformation-1.204.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
aws-cdk.assetsProvides Python bindings for AWS CDK asset…
permissive · top 15,000 on PyPI
cdk8scdk8s is a framework for defining Kubernetes…
permissive · top 15,000 on PyPI
aws-cdk.custom-resourcesProvides a framework for implementing AWS…
permissive · top 15,000 on PyPI
aws-cdk-libProvides Python APIs to define and deploy AWS…
permissive · top 5,000 on PyPI
troposphereTroposphere is a Python library that generates…
permissive · top 5,000 on PyPI
aws-cdk.cloud-assembly-schemaProvides the schema and structures for AWS CDK…
permissive · top 5,000 on PyPI
aws-cdk.cx-apiProvides the cloud executable protocol and…
permissive · top 15,000 on PyPI
aws-cdk.coreProvides the core construct classes and stack…
permissive · top 15,000 on PyPI
cognite-toolkitA command-line tool for configuring,…
permissive · top 15,000 on PyPI
constructsConstructs is a programming model for defining…
permissive · top 5,000 on PyPI