AWS SAM Serverless
Build and deploy serverless apps on AWS with SAM. Generates template.yaml, Lambda + API Gateway + EventBridge wiring, local invoke configs, layer management, and CI deploys via sam pipeline.
This skill covers AWS SAM: writing template.yaml with Globals, Lambda functions (Node, Python, Go, container images), API Gateway HTTP and REST APIs, EventBridge rules, SQS/SNS triggers, Step Functions, DynamoDB tables, IAM policy templates, custom Lambda Layers, sam build with esbuild/Docker, sam local invoke/start-api for local testing, sam sync for fast dev iteration, and sam pipeline for CI/CD. Migration patterns from raw CloudFormation and comparisons with CDK.
When to use
Use when building serverless apps on AWS, configuring API Gateway + Lambda with SAM, locally testing functions, or wiring CI via sam pipeline.
Examples
API + DynamoDB stack
REST API backed by single-table DDB
Write a SAM template for a Node.js HTTP API with /items and /items/{id} routes, a single DynamoDB table with PK/SK, Lambda functions for each route, and least-privilege IAM via SAM policy templates
sam local dev loop
Hot-reload via sam sync
Set up sam sync --watch for my Python Lambda repo so saved source files redeploy in seconds, and show me how to attach the AWS X-Ray and Lambda Insights layers globally