Amazon web services – How to set S3 bucket path in Cloudfront origin request using Lambda Edge?
I have an S3 bucket where each folder in the root contains a website with the folder name being the website url. I have a Cloudfront distribution with this bucket as an origin and a Lambda Edge function associated with…