Code demonstrates authorization with Lambda@Edge along with Cloudfront and S3 static web pages
- Create S3 bucket with static website hosting feature
- Create Cloudfront distribution with S3 bucket origin
- Crete lambda function(python3.7) in N.Virginia Region
- Configure Cloudfront Behaviour to trigger Viewer Request(Lambda Function Associations) and choose lambda function
- Deploy lambda function to Lamba@Edge
- Create dynamodb table and add items