How do you use Lambda@Edge?
To use Lambda@Edge, you just upload your code to AWS Lambda and configure your function to be triggered in response to Amazon CloudFront re...

https://www.interviewquestionspdf.com/2017/01/how-do-you-use-lambdaedge.html
To use Lambda@Edge, you just upload your code to AWS Lambda and configure your function to be triggered in response to Amazon CloudFront requests. Your code must satisfy the Lambda@Edge service limits. Lambda@Edge only supports Node.js at this time.