1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Have you tried adding a parameter mapping to the integration in API Gateway? I haven't tried it but you may have to append a dummy value because there's no "preserve" setting, only "overwrite", "remove" and "append".
Contenus pertinents
- demandé il y a 3 ans
- demandé il y a 8 mois
- demandé il y a 20 jours
- demandé il y a un mois
- AWS OFFICIELA mis à jour il y a un an

Yes, I can add the IP to a custom header, and that header will be available after passes through the VPC Link and the ALB. The problem is that I'm dealing with a Legacy application that no one in the team knows how it works. So I can not update the code to make it work with a different header.
Just to be clear, X-Forwarded-For is available in the API GW, the header vanish after passing though the VPC Link integration.
In that case I would create a support case to see if this is behaviour that is expected from the service or not.