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
AWS three-tier web application
Classic web app on AWS with CloudFront, ALB, ECS Fargate, and RDS Multi-AZ across two availability zones.
Azure AKS microservices
Microservices on AKS behind Front Door + Application Gateway with hub-and-spoke networking, Cosmos DB, and Service Bus.
Multi-region active-active deployment
Active-active app spanning two AWS regions with Route 53 latency-based routing, Aurora Global Database, and S3 cross-region replication.