1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
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
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 8 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 10 Monaten
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"