I\'m trying to map the JSON output from a Lambda function to the header of an API Gateway call. As an example here, we can consider a redirect scenario. So I\'d like to add a
From the AWS developer forums today (25 September 2015) this isn't possible yet, but may be coming in the future:
API Gateway does not currently support mapping from the integration response body to the response headers, but we are looking to add support for this in the future.
Forum post here
Edit December 2015: Feature as been added according to a post by an AWS employee in the thread linked above. Thanks to Peter Fox for pointing that out.