All templates
CloudAWSLambdaAPI GatewayDynamoDBserverless

AWS serverless API

API Gateway + Lambda + DynamoDB with Cognito auth, async processing via SNS/SQS, and full observability.

The prompt

Serverless AWS API architecture. Route 53 routes to CloudFront, which fronts an API Gateway with a Cognito authoriser. API Gateway invokes Lambda functions that read and write to DynamoDB and publish events to SNS. SNS fans out to SQS queues consumed by additional Lambda workers. Failed messages route to a dead-letter SQS queue. Secrets come from Secrets Manager. CloudWatch Logs and X-Ray instrument every function. Show the IAM execution roles per function, encryption via KMS, and a step function for one critical multi-step workflow.

What it generates

A diagram of a fully serverless API with synchronous request handling, asynchronous fan-out via SNS/SQS, dead-lettering, and observability.

When to use it

For event-driven APIs, low-traffic-but-spiky workloads, or any system where the right scale-to-zero default beats running idle compute.

Generate this diagram in seconds

Copy the prompt above, sign in for free, and paste it into the generator.

Related cloud templates