I am using AWS Api Gateway. I have created resource and method using API Gateway.
I have created Lambda function for generating signed URL in json format to access s3 bucket via CloudFront.
When I call lambda function using GET method. I pass "channekID" as a querystring. I want to send X-API-Key custom header as well for authorization.
I have tried lot things but did not find any solution. How to send custom header in Lambda function?? and after accessing header value in Lambda How to authorize using x-api-key ?