Welcome to the Secure API Gateway Example
This example demonstrates how to secure an API Gateway using CloudFront.
How It Works
The API Gateway is protected by a CloudFront distribution, which ensures that only requests coming through CloudFront can access the API. This setup provides an additional layer of security and allows for caching, throttling, and other CloudFront features.
Getting Started
To get started, you can deploy the AWS SAM template provided in this repository. It will create the necessary resources including the API Gateway, CloudFront distribution, and Lambda functions.