CDK Starters

14 production-ready starters. Filter by tag or search by name, then scaffold with npx cdk-starter create.

Advertisement

Showing all 14 starters

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

Full-Stack Web App

intermediate

CloudFront + S3 frontend, API Gateway + Lambda backend, Cognito auth, and Aurora Serverless v2 PostgreSQL. Production-ready full-stack pattern with all wiring included.

🏗️ full-stack cloudfront cognito aurora apigateway λ lambda

ECS Fargate Service

intermediate

Containerised service on ECS Fargate behind an Application Load Balancer. Includes ECR repository, ARM64 tasks, CPU + request-count auto-scaling, health checks, and CloudWatch alarms.

🐳 containers 🐳 ecs fargate alb ecr autoscaling

CI/CD Pipeline (CDK Pipelines)

intermediate

Self-mutating CDK Pipeline connected to a GitHub repository via CodeStar Connection. Deploys through Staging and Production stages with manual approval and a smoke test step.

cicd codepipeline codebuild github devops

WebSocket API

intermediate

API Gateway WebSocket API with Lambda handlers for $connect, $disconnect, and custom message routes. DynamoDB connections table with userId GSI for server-push messaging.

serverless websocket apigateway λ lambda dynamodb realtime

Step Functions Workflow

intermediate

Express Step Functions workflow with validate → process → notify steps, error handling with Catch/Retry, Choice branching, and an API Gateway trigger endpoint. CloudWatch failure alarm included.

serverless stepfunctions λ lambda workflow orchestration

Bedrock Chatbot

intermediate

Conversational AI chatbot powered by Amazon Bedrock (Claude 3.5 Sonnet). Lambda handler with multi-turn conversation history in DynamoDB (TTL-based). REST API with session management.

ai bedrock λ lambda dynamodb chatbot llm

Data Lake Starter

advanced

S3-based data lake with raw/processed/curated zones, Glue catalog and daily crawler, Athena WorkGroup, and a Kinesis Data Stream + Firehose ingestion pipeline. ETL Lambda for raw-to-processed transformation.

📊 data s3 glue athena kinesis 📈 analytics

Fargate Based Temporal Server

advanced

Temporal workflow server on ECS Fargate — no Kubernetes or Helm required. Aurora PostgreSQL 15 Serverless v2, NLB on port 7233, Route53 DNS, and optional Web UI sidecar. Simpler and typically cheaper than the standard EKS/Helm approach.

temporal 🐳 ecs fargate aurora nlb workflows