Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

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

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Amazon Web Services
  3. cdkpatterns/serverless

cdkpatterns/serverless

MITTypeScript

A collection of official AWS Serverless architecture patterns built with AWS CDK, available in TypeScript and Python.

Visit WebsiteGitHubGitHub
2.4k stars270 forks0 contributors

What is cdkpatterns/serverless?

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.

Target Audience

AWS developers and architects building serverless applications who want to accelerate development using proven, production-ready patterns with Infrastructure as Code.

Value Proposition

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.

Overview

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.

Use Cases

Best For

  • Learning AWS serverless architecture best practices through deployable examples
  • Bootstrapping new serverless projects with production-ready CDK stacks
  • Implementing event-driven architectures with AWS Lambda, EventBridge, and Step Functions
  • Building serverless data processing pipelines (ETL) from CSV to DynamoDB
  • Deploying serverless machine learning models in containers on AWS Lambda
  • Creating well-architected CloudWatch dashboards and alerts for serverless applications

Not Ideal For

  • Teams building multi-cloud or hybrid architectures requiring portability beyond AWS
  • Developers seeking low-code or no-code infrastructure solutions without CDK coding
  • Projects needing extensive, out-of-the-box customization beyond the fixed pattern templates
  • Organizations requiring official AWS support and SLAs, as it's community-maintained by an individual

Pros & Cons

Pros

Production-Ready Implementations

Each pattern is a complete, deployable CDK stack for common serverless architectures, saving development time by providing tested, working code from the start.

Multi-Language CDK Support

All patterns are available in both TypeScript and Python CDK implementations, allowing teams to choose their preferred Infrastructure as Code language.

Well-Architected Alignment

Patterns are mapped to AWS Well-Architected Framework best practices, ensuring built-in reliability, security, and efficiency without extra design effort.

Community-Driven Expertise

Contributed and maintained by AWS experts and the serverless community, offering diverse, real-world solutions that evolve with industry trends.

Easy Deployment CLI

The `cdkp` CLI enables quick initialization and deployment of any pattern with single commands, streamlining setup and reducing boilerplate code.

Cons

Incomplete Python Support

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.

Individual Maintenance Risk

Maintained by a single individual (@nideveloper) rather than AWS or a larger organization, which could lead to slower updates, limited support, and potential abandonment.

AWS and CDK Lock-In

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.

Setup Complexity

Requires Node.js, npm, AWS CLI configuration, and virtual environments for Python, adding overhead compared to simpler deployment methods or managed services.

Frequently Asked Questions

Quick Stats

Stars2,351
Forks270
Contributors0
Open Issues21
Last commit2 years ago
CreatedSince 2020

Tags

#architecture-patterns#cdk#event-driven-architecture#stepfunctions#serverless#eventbridge#infrastructure-as-code#python#sqs#typescript#aws-lambda#lambda-functions#aws#cloudformation#aws-cdk#dynamodb

Built With

C
CloudFormation
T
TypeScript
A
AWS CDK
P
Python

Links & Resources

Website

Included in

Amazon Web Services14.0kCDK2.1k
Auto-fetched 6 hours ago

Related Projects

localstacklocalstack

💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline

Stars65,152
Forks4,771
Last commit4 months ago
chaosmonkeychaosmonkey

Chaos Monkey is a resiliency tool that helps applications tolerate random instance failures.

Stars17,038
Forks1,289
Last commit1 year ago
zuulzuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.

Stars14,050
Forks2,442
Last commit18 hours ago
eurekaeureka

AWS Service registry for resilient mid-tier load balancing and failover.

Stars12,724
Forks3,768
Last commit4 months 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