1 year ago

#272658

test-img

Yaiba

CloudFront Lambda@Edge not seeing custom headers in viewer request

I have a CloudFront distribution with a Lambda@Edge function which handles viewer request event. I want to send some custom headers and have them processed by Lambda@Edge, however Lambda function doesn't see them. For example I tried to send following headers:

  • X-Abc-Me
  • X-Some-Strange-Header

In the event received by Lambda function above headers are not included in 'headers'. I've tried to look through CloudFront document but don't see any clue yet. Please help. Thanks a lot in advance.

amazon-cloudfront

aws-lambda-edge

0 Answers

Your Answer

Accepted video resources