1 Answer
0
Accepted Answer
I have finally found them. For "origin request" hook they are here: event.Records[0].cf.request.origin.s3.customHeaders and if origin is ALB: event.Records[0].cf.request.origin.custom.customHeaders
answered 7 days ago
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 7 months ago
Can you share from which object are you trying to read the custom header from?
Sure. event.Records[0].cf.request.headers The same works perfectly for the function for "origin response"