Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. CDK
  3. Official CDK Examples

Official CDK Examples

Apache-2.0Python

A collection of example projects demonstrating infrastructure patterns and service implementations using the AWS Cloud Development Kit.

GitHubGitHub
5.6k stars2.5k forks0 contributors

What is Official CDK Examples?

AWS CDK Examples is a GitHub repository containing official example projects for the AWS Cloud Development Kit. It provides code samples demonstrating how to implement various AWS services and infrastructure patterns using infrastructure-as-code. The repository helps developers learn and apply the AWS CDK by offering practical, multi-language examples.

Target Audience

Cloud developers and DevOps engineers who are learning or using the AWS CDK to define and deploy cloud infrastructure. It is particularly useful for those seeking intermediate-level examples after completing introductory tutorials.

Value Proposition

Developers choose this repository because it offers officially maintained, language-parity examples across TypeScript, Python, .NET, Java, and Go. It provides real-world patterns and service implementations that accelerate learning and reduce trial-and-error when building with the AWS CDK.

Overview

Example projects using the AWS CDK

Use Cases

Best For

  • Learning AWS CDK patterns after completing the official workshop
  • Finding multi-language examples for the same infrastructure pattern
  • Implementing specific AWS services like Lambda or DynamoDB with CDK
  • Understanding serverless application stacks with CDK
  • Contributing example code to the AWS CDK community
  • Referencing intermediate-level CDK code for production projects

Not Ideal For

  • Developers seeking step-by-step, beginner-friendly tutorials with detailed explanations
  • Projects requiring cloud-agnostic or multi-cloud infrastructure-as-code solutions
  • Teams needing production-ready, fully tested and secured code snippets without modification
  • Applications that rely on proprietary or niche AWS services not covered in the examples

Pros & Cons

Pros

Language Parity Examples

The repository aims for complete language parity with examples in TypeScript, Python, .NET, Java, and Go, all marked as stable by JSII, providing consistent references across languages.

AWS-Backed Resources

As the official collection from AWS, it is reliably maintained and updated in sync with CDK releases, ensuring examples reflect current best practices.

Real-World Patterns

Examples showcase practical implementations of common AWS services like Lambda and DynamoDB, offering actionable code for cloud infrastructure patterns.

Community Contributions

The repo welcomes fixes and new examples via a clear CONTRIBUTING guide, fostering an active community and continuous improvement.

Cons

Parity Gaps

Despite the aim for language parity, some examples may be missing or lag in less popular languages like Go, leading to inconsistent availability across the board.

Code-Only Focus

Examples often lack detailed comments or step-by-step guides, assuming users have prior knowledge from the CDK Workshop or Developer Guide, which can hinder self-directed learning.

Prerequisite Heavy

Using examples requires an existing AWS CDK setup with proper credentials and dependencies installed, adding complexity for quick experimentation or newcomers.

Frequently Asked Questions

Quick Stats

Stars5,612
Forks2,461
Contributors0
Open Issues12
Last commit18 hours ago
CreatedSince 2019

Tags

#multi-language#cloud-development#cdk#devops#cloud-architecture#serverless#infrastructure-as-code#aws-lambda#aws-cdk#aws-fargate

Included in

CDK2.1k
Auto-fetched 18 hours ago

Related Projects

cdkpatterns/serverlesscdkpatterns/serverless

This is intended to be a repo containing all of the official AWS Serverless architecture patterns built with CDK for developers to use. All patterns come in Typescript and Python with the exported CloudFormation also included.

Stars2,351
Forks270
Last commit2 years ago
Open CDK GuideOpen CDK Guide

This guide is an opinionated set of tips and best practices for working with the AWS Cloud Development Kit

Stars867
Forks39
Last commit5 years ago
GitHub Changelog CrawlerGitHub Changelog Crawler

This is a demo application that uses modern serverless architecture to crawl changelogs from open source projects, parse them, and provide an API and website for viewing them.

Stars286
Forks43
Last commit3 years ago
Example templates for aws cdkExample templates for aws cdk

Templates for aws cdk

Stars116
Forks21
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub