AWS CDK vs Terraform
Terraform: Declarative provisioning across many providers, for teams that are not limited to AWS

Open source framework for defining AWS infrastructure in programming languages
AWS CDK is free to use. AWS CDK is an Apache 2. Softwr lists it under Developer Tools. AWS CDK is made by Amazon Web Services, available on Windows, macOS, Linux.
Overview
The AWS Cloud Development Kit (AWS CDK) is an open source framework for defining cloud infrastructure as code and provisioning it through AWS CloudFormation. It has two main parts: the Construct Library, a collection of reusable modular components called constructs, and the CDK Toolkit, which provides a command line tool and a programmatic library for synthesising and deploying apps. Developers write infrastructure in TypeScript, JavaScript, Python, Java, C# or Go, using loops, conditionals, composition and inheritance, and compose constructs into stacks and apps. Low level constructs map to individual CloudFormation resources, while high level constructs provide defaults for larger components. Teams can write and share their own constructs, and a public Construct Hub registry lists open source libraries. The Construct Programming Model also underlies related tools for Terraform and Kubernetes. It is aimed at developers and platform teams who build on AWS and prefer general purpose languages to template files. The tool itself is free under the Apache 2.0 licence and the vendor lists no plans or fees, but the AWS resources it creates are billed at their normal rates. AWS CDK targets AWS, so it is not a multi cloud provisioning tool, and deployments rely on CloudFormation behaviour such as its resource support and rollback model. Teams that want a declarative configuration language rather than code may find other tools simpler.
The honest half
The limits buyers hit most with AWS CDK: targets AWS only, so it does not provision resources on other clouds; and deploys through CloudFormation, so its resource coverage and limits apply. Each is concrete and checkable: the half of a review a vendor will not write.
Cross-shopped
The closest alternatives to AWS CDK are Terraform, Pulumi and HCP Terraform. Each is a tool buyers genuinely weigh against it, with the reason why.
Terraform: Declarative provisioning across many providers, for teams that are not limited to AWS
Pulumi: General purpose language infrastructure as code that works across several clouds
HCP Terraform: Managed Terraform service with remote state and team workflows
Serverless Framework: Focused on deploying serverless applications, with simpler configuration for functions
Capabilities
AWS CDK lists 8 features, including construct Library of reusable components; CDK CLI for synthesis and deployment; and programmatic CDK Toolkit Library.
Construct Library of reusable components
CDK CLI for synthesis and deployment
Programmatic CDK Toolkit Library
Support for TypeScript, JavaScript, Python, Java, C# and Go
Deployment through AWS CloudFormation
Custom and shareable constructs
Construct Hub registry
Open source under Apache 2.0
Answered, with sources
Each answer names the page it came from, so you can check it rather than take our word for it.
The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.
SourceCDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.
SourceIt is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.
SourceWikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.
SourceChecked against
The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.
Keep looking
Infrastructure as code provisioning and management, formerly Terraform Cloud
Runs Terraform plan and apply from pull request comments, self-hosted and free
Fast, scalable build system with intelligent defaults for Python and more
Single-binary formatter and linter for JavaScript, TypeScript, CSS and JSON projects
The Python web framework behind ERPNext, sold as managed hosting through Frappe Cloud
Infrastructure-as-code orchestration for Terraform, OpenTofu, Pulumi and Kubernetes
Open source internal developer portal framework created and open sourced by Spotify
Open source event pipeline that streams behavioural data to your own warehouse
Cloud hosted development environments configured by dev container files
Git GUI client and developer tool suite with a free Community plan and paid team plans
Free, open-source terminal emulator for macOS with split panes, triggers and shell integration
Open source C++ library and command line tool for point cloud translation and processing
A language empowering everyone to build reliable and efficient software
Softwr does not host reviews and shows no star rating for AWS CDK, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.
What people switch to, and what they give up
Every tier, and where the cost actually lands
Put it head to head with anything we hold
Its rating, and an embed for your own site


Declarative infrastructure as code for AWS, free for AWS resources

Pay-per-minute managed build service for compiling, testing and packaging code

Managed release pipelines on AWS billed per active pipeline or per action minute

Open-source framework and CLI for building serverless apps on AWS

AWS agentic IDE and CLI built around spec-driven development

Serverless SQL over data in S3, charged per terabyte scanned

MySQL and PostgreSQL-compatible relational database built for the cloud

AWS managed service for building generative AI applications and agents

AWS content delivery network with flat-rate and pay-as-you-go pricing

AWS customer identity service for sign-in, federation and access tokens, priced per active user

Text analysis API for entities, sentiment, key phrases, PII and custom classifiers

Cloud contact center from AWS
Do you work at AWS CDK?
Claim this listing to correct the details, keep the pricing current, and reply to reviews. We verify with a code sent to your work email.
Claim this listingFast, light Docker and Linux machine runner for Mac, positioned as a Docker Desktop alternative
freemiumFree, open-source terminal emulator for macOS with split panes, triggers and shell integration
open-source