Open-source CDK boilerplates

Ship AWS infrastructure
in minutes, not days

Browse production-ready AWS CDK starters built with best practices baked in. One command to scaffold. Zero boilerplate to write.

terminal

$ npx cdk-starter create

◇ Found 14 starters

◆ How would you like to find a starter?

  ● Browse all starters

  ○ Search by name or keyword

  ○ Filter by tag

◆ Pick a starter Serverless REST API

◆ Project name my-api

✔ Scaffolded! cd my-api && npx cdk deploy

14+
Starters
TypeScript
Language
CDK v2
Framework
Free
Forever

Everything you need to start fast

Each starter follows AWS Well-Architected best practices and includes everything for a real production workload.

One-line scaffold

Run npx cdk-starter create from your terminal. Pick a starter, name your project, and you're ready to deploy.

🏗️

Well-Architected

IAM least-privilege, encryption at rest, structured logging, and environment parity built into every starter.

🔓

100% open source

All starters live on GitHub. Fork, extend, or submit your own. No lock-in, no hidden costs.

📦

TypeScript first

Full type safety from CDK constructs to Lambda handlers. Strict tsconfig included.

🔍

Searchable & tagged

Filter by service type, difficulty, or use case. Find the right starting point in seconds.

🚀

Deploy-ready

Each starter ships with a deploy script, environment config, and README that walks you to first deploy.

Advertisement

Featured Starters

View all 14 →

Serverless REST API

beginner

API Gateway + Lambda + DynamoDB with TypeScript. Full CRUD boilerplate with IAM roles, environment config, and local testing setup.

serverless 🔌 api λ lambda dynamodb

Static Site (CloudFront + S3)

beginner

CloudFront distribution with S3 origin and Origin Access Control, HTTPS redirect, security headers, SPA error routing, and optional custom domain with ACM + Route53.

cloudfront s3 static frontend route53

Scheduled Lambda Job

beginner

EventBridge scheduled rule triggering a Lambda function on a cron or rate schedule. Includes DynamoDB state table, CloudWatch error/duration alarms, and SNS alarm notifications.

serverless λ lambda eventbridge cron cloudwatch

Event-Driven Pipeline

beginner

SNS fan-out to three SQS queues (notify, analytics, audit) each with a Lambda consumer and dead-letter queue. Includes a custom EventBridge bus for cross-service domain events and DLQ alarms.

serverless eventbridge sqs sns λ lambda messaging

VPC Network Foundation

intermediate

Production-ready VPC with 3 AZs, public/private/isolated subnets, NAT gateways, S3/DynamoDB gateway endpoints, ECR/SSM/CloudWatch interface endpoints, VPC Flow Logs to S3, and an SSM-only bastion host.

🌐 networking 🔒 vpc security bastion

Cognito Auth + API Gateway

intermediate

Cognito User Pool with hosted UI, SPA and server-side app clients, and an API Gateway REST API protected by a Cognito JWT authorizer. Includes public and protected Lambda endpoints.

cognito auth apigateway λ lambda security

Ready to build?

Install the CLI once and scaffold any starter in seconds. Works with npm, pnpm, and yarn.

npx cdk-starter create
Browse Starters CLI Docs