1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
respondido há um ano
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
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"