Mapping Lambda output to API Gateway header
问题 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 Location header to the response from my API Gateway call. JSON output from Lambda function: { Location: 'http://google.com' } In "Method Response"->"Response Headers" I can add the Location header to the desired HTTP status code. Then in "Integration Response"->"Header Mappings" I can add the mapping for the Location