A collection of example projects demonstrating infrastructure patterns and service implementations using the AWS Cloud Development Kit.
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.
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.
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.
Example projects using the AWS CDK
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
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.
As the official collection from AWS, it is reliably maintained and updated in sync with CDK releases, ensuring examples reflect current best practices.
Examples showcase practical implementations of common AWS services like Lambda and DynamoDB, offering actionable code for cloud infrastructure patterns.
The repo welcomes fixes and new examples via a clear CONTRIBUTING guide, fostering an active community and continuous improvement.
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.
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.
Using examples requires an existing AWS CDK setup with proper credentials and dependencies installed, adding complexity for quick experimentation or newcomers.