⚡
Serverless API
API Gateway → Lambda → DynamoDB. Zero servers, scales automatically.
What you can build with this
A REST API backend your frontend or mobile app calls over HTTPS. You write the business logic as Lambda functions. API Gateway handles routing and scaling. DynamoDB stores your data. The first 1 million API calls and Lambda invocations per month are free tier.
Deployment timing
After you run the deploy command, resources come online at different times. Check the validation steps in order.
| Resource | Ready in |
|---|---|
| Lambda Function | Ready when stack reaches CREATE_COMPLETE |
| API Gateway endpoint | Live immediately after stack completes |
| DynamoDB Table | Ready within 1–2 min of stack completing |
| First Lambda invocation (cold start) | 200ms–2s — subsequent calls are faster |
CloudFormation parameters
These are the values you will fill in when deploying the exported template. Changing these does not break the template — that is the point.
| Parameter | What to provide | Example |
|---|---|---|
| ApiName | Name for the API Gateway REST API | my-api |
| TableName | DynamoDB table name where your data is stored | app-data |
| LambdaS3Bucket | S3 bucket containing your handler.zip | my-artifacts-bucket |
| LambdaS3Key | Path to your zip file in S3 | functions/handler.zip |