Add an origin header to a CloudFront Functions viewer request event
The following code example shows how to add an origin 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.