Add a true client IP header to a CloudFront Functions viewer request event
The following code example shows how to add a true client IP header to a CloudFront Functions viewer request event.
For a complete list of AWS SDK developer guides and code examples, see Using CloudFront with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.