CloudFront S3 API Gateway Lambda Example

This is the default S3 origin (static content)

CloudFront is serving this HTML file from an S3 bucket.

Test API Endpoint

Click the button below to call the Lambda function through API Gateway: