Softwr
AWS CDK logo

AWS CDK

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

What is AWS CDK?

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.

What people use it for

  • Defining AWS infrastructure in TypeScript or Python
  • Reusable internal infrastructure modules
  • Serverless application stacks
  • Testing infrastructure with unit tests
  • Standardising environments across accounts

The honest half

Where does AWS CDK fall short?

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.

  • Targets AWS only, so it does not provision resources on other clouds
  • Deploys through CloudFormation, so its resource coverage and limits apply
  • Infrastructure written in code can be harder to review than declarative templates
  • The AWS resources it creates are billed separately at standard AWS rates

Cross-shopped

What are the alternatives to AWS CDK?

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.

  • AWS CDK vs Terraform

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

  • AWS CDK vs Pulumi

    Pulumi: General purpose language infrastructure as code that works across several clouds

Capabilities

What can AWS CDK do?

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

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Which languages does AWS CDK support?

The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.

Source
How does AWS CDK deploy resources?

CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.

Source
Is AWS CDK free?

It 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.

Source
When was AWS CDK first released?

Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.

Source

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

Share

Keep looking

Where to go from AWS CDK

Best Developer Tools software for

Compare AWS CDK with

Other Developer Tools software

  • Automate infrastructure on any cloud

    Free, then $0.1/resource-month13 researched notes
  • Infrastructure as code provisioning and management, formerly Terraform Cloud

    Free, then $0.1/mo9 researched notes
  • Runs Terraform plan and apply from pull request comments, self-hosted and free

    Open source13 researched notes
  • Fast, scalable build system with intelligent defaults for Python and more

    Free plan11 researched notes
  • Single-binary formatter and linter for JavaScript, TypeScript, CSS and JSON projects

    Open source10 researched notes
  • The Python web framework behind ERPNext, sold as managed hosting through Frappe Cloud

    Free, then $5/mo15 researched notes
  • Infrastructure-as-code orchestration for Terraform, OpenTofu, Pulumi and Kubernetes

    Free, then $399/mo14 researched notes
  • Open source Java IDE and tools from the Eclipse Foundation

    Free plan14 researched notes
  • The language nearly all machine learning code is written in

    Free plan12 researched notes
  • Open source internal developer portal framework created and open sourced by Spotify

    Open source14 researched notes
  • Open source event pipeline that streams behavioural data to your own warehouse

    Free, then $99/mo14 researched notes
  • Free, lightweight source code and text editor for Windows

    Free plan13 researched notes
  • Cloud hosted development environments configured by dev container files

    Free, then $0.09/core hour12 researched notes
  • Git GUI client and developer tool suite with a free Community plan and paid team plans

    Free plan14 researched notes
  • The package manager for Kubernetes

    Free plan8 researched notes
  • Free, open-source terminal emulator for macOS with split panes, triggers and shell integration

    Free plan13 researched notes
  • Open source C++ library and command line tool for point cloud translation and processing

    Open source15 researched notes
  • A language empowering everyone to build reliable and efficient software

    Free plan7 researched notes

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.

More on AWS CDK

Amazon Web Services (AWS) logo
More from Amazon Web Services (AWS)

All 67 Amazon Web Services (AWS) products
  • AWS CodeBuild logo

    AWS CodeBuild

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

  • AWS CodePipeline logo

    AWS CodePipeline

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

  • Kiro logo

    Kiro

    AWS agentic IDE and CLI built around spec-driven development

  • Amazon Athena logo

    Amazon Athena

    Serverless SQL over data in S3, charged per terabyte scanned

  • Amazon Aurora logo

    Amazon Aurora

    MySQL and PostgreSQL-compatible relational database built for the cloud

  • Amazon Bedrock logo

    Amazon Bedrock

    AWS managed service for building generative AI applications and agents

  • Amazon CloudFront logo

    Amazon CloudFront

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

  • Amazon Cognito logo

    Amazon Cognito

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

  • Amazon Comprehend logo

    Amazon Comprehend

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