AWS Lambda Handler Cookbook - A Serverless Service Template
This project shows how to use CloudFront and Lambda@Edge to protect a Lambda function URL configured with the AWS_IAM authentication type by adding the appropriate headers to the request before it reaches the origin. It goes with the blog post 'Protecting a Lambda Function URL with Amazon CloudFront and Lambda@Edge' (see resources).