title: AWS ApiGateway Host header & Custom domain name
body: <p>When using <code>AWS::ApiGateway::DomainName</code>, it creates hidden <code>CloudFront</code> distribution to actually fetch custom domain name. The problem is that when passing original request down to something like <code>ELB</code>, original headers are lost, including Host header. I need Host header in my application that is deployed in <code>ECS</code>.</p>
  
  <p>Possible solution is to create <code>Lambda@Edge</code> function that adds <code>X-Forwarded-Host</code> header and maps it to the value of Host header. The problem is that I cannot figure out how to create Lambda Function Association on hidden <code>Cloudfront</code> distribution that <code>ApiGateway</code> creates.</p>
  
  <p>Is there actually a possibility to have Host header preserved in <code>ApiGateway</code> with Custom Domain name setup, as for now?</p>