A collection of official AWS Serverless architecture patterns built with AWS CDK, available in TypeScript and Python.
CDK Patterns is a curated collection of official AWS Serverless architecture patterns built with the AWS Cloud Development Kit (CDK). It provides ready-to-deploy CDK stacks for common serverless use cases like web services, event processing, data pipelines, and machine learning, helping developers implement best practices quickly.
AWS developers and architects building serverless applications who want to accelerate development using proven, production-ready patterns with Infrastructure as Code.
It offers a library of concrete, deployable CDK implementations for standard serverless architectures, saving time and ensuring alignment with AWS Well-Architected best practices, all available in both TypeScript and Python.
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.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Each pattern is a complete, deployable CDK stack for common serverless architectures, saving development time by providing tested, working code from the start.
All patterns are available in both TypeScript and Python CDK implementations, allowing teams to choose their preferred Infrastructure as Code language.
Patterns are mapped to AWS Well-Architected Framework best practices, ensuring built-in reliability, security, and efficiency without extra design effort.
Contributed and maintained by AWS experts and the serverless community, offering diverse, real-world solutions that evolve with industry trends.
The `cdkp` CLI enables quick initialization and deployment of any pattern with single commands, streamlining setup and reducing boilerplate code.
Python patterns often reuse JavaScript lambdas from TypeScript versions, limiting native Python development and testing, as admitted in the README with plans for future refactoring.
Maintained by a single individual (@nideveloper) rather than AWS or a larger organization, which could lead to slower updates, limited support, and potential abandonment.
Tightly coupled to AWS services and the CDK framework, making it unsuitable for projects targeting other clouds or using different Infrastructure as Code tools like Terraform.
Requires Node.js, npm, AWS CLI configuration, and virtual environments for Python, adding overhead compared to simpler deployment methods or managed services.