Skip to content


AWS CDK Examples

This repository contains a set of example projects for the AWS Cloud Development Kit.

Table of Contents

  1. About this Repo
  2. Examples
  3. Learning Resources
  4. Additional Examples
  5. License

About this Repo

This repo is our official list of CDK example code. The repo is subdivided into sections for each language (see "Examples"). Each language has its own subsection of examples with the ultimate aim of complete language parity (same subset of examples exist in each language). These examples each provide a demonstration of a common service implementation, or infrastructure pattern that could be useful in your use of the CDK for building your own infrastructure.

We welcome contributions to this repo in the form of fixes to existing examples or addition of new examples. For more information on contributing, please see the CONTRIBUTING guide.

This is considered an intermediate learning resource and should typically be referenced after reading the Developer Guide or CDK Workshop (please see Learning Resources for more information on these resources).


This repo contains examples in each language supported by the CDK. Some languages are fully supported by JSII, but as additional languages are added, you will see those marked as Developer Preview. You can find the examples for each of those languages at the following links:

Language JSII Language-Stability
Typescript Examples Stable
Python Examples Stable
.NET Examples Stable
Java Examples Stable
Go Examples Stable

Learning Resources

While this is an excellent learning resource for the CDK, there are other resources that can be referenced to assist with your learning/development process.

Official Resources

Unofficial/Community Resources

If you have created a CDK learning resource and would like it to be listed here, please read the related CONTRIBUTING section for more info.

Additional Examples

The examples listed below are larger examples hosted in their own repositories that demonstrate more complex or complete CDK applications.

If you would like your repo to be listed here, please read the CONTRIBUTING guide for more details.

Example Description Owner
aws-cdk-changelogs-demo A full serverless Node.js application stack deployed using CDK. It uses AWS Lambda, AWS Fargate, DynamoDB, Elasticache, S3, and CloudFront. AWS


This library is licensed under the Apache 2.0 License.