aws-samples/amazon-cloudfront-secure-static-site

How to integrate this with an API Gateway?

Closed this issue · 0 comments

A common extension to this template might be to add an API Gateway that can receive HTTP requests.

This CloudFormation template demonstrates one method. It uses the AWS::Serverless:Function resource to define a Lambda Function that receives requests from an API Gateway. The AWS::Serverless::Function resource implicitly creates the API Gateway.

AWS::Serverless::Function Documentation