Serverless & Functions
Lambda patterns, API Gateway setups, EventBridge workflows, and CloudFormation serverless stacks.
Available Assets
API Gateway Lambda and DynamoDB Starter
CloudFormation: REST API with Lambda proxy integration, DynamoDB table, IAM execution roles, CloudWatch logging, and X-Ray tracing enabled.
Scheduled Job Framework
CloudFormation: EventBridge cron rule triggering Lambda, SQS dead letter queue for failures, CloudWatch alarm on error rate, and SNS alert on DLQ depth.
S3 Event Processing Pipeline
CloudFormation: S3 upload event triggers Lambda processor, result written to DynamoDB, failures routed to SQS DLQ with CloudWatch alarm.
Lambda Warmer Stack
CloudFormation: EventBridge rules pinging configured Lambda functions every 5 minutes to eliminate cold starts. Configurable function list via parameter.
Lambda Layer Pack for Node.js
Pre-built Lambda layers for Node.js 22: sharp for image processing, Puppeteer for headless Chrome, and a common AWS SDK utility helpers layer. Deploy-ready ZIPs included.
Step Functions Order Workflow
CloudFormation: Step Functions state machine for multi-step order processing with parallel branches, error catching, retry logic, and CloudWatch execution logging.
SQS Lambda Worker Pattern
CloudFormation: SQS queue with Lambda consumer, configurable batch size, DLQ for failures, and CloudWatch alarms on queue depth and DLQ message count.
Serverless Webhook Relay
CloudFormation: API Gateway + Lambda that receives webhooks, validates signatures, and fans out to multiple downstream services via SQS. Configurable routing rules.
Lambda@Edge SEO Redirect Handler
CloudFormation: Lambda@Edge function handling trailing slash normalization, www to non-www redirects, and legacy URL pattern redirects at the CloudFront layer.
Serverless Contact Form Backend
CloudFormation: API Gateway + Lambda + SES contact form handler. CORS configured, honeypot spam field, rate limiting, and input sanitization included.