1 Answers
1
Hi,
Thanks for reaching out. You can refer to this part of the CDK .NET reference for an example on how you can override the request and response parameters in order to add your custom headers. Please search for "Working with models" in the page if the link does not take you there directly.
Please check this out and let us know how you go.
Relevant questions
Query HTTP Request Headers When Using Function URLs?
Accepted Answerasked 2 months agoCDK to add Http headers in the integration request
asked 24 days agoWhy aren't the HTTP headers passed from API Gateway to Step Functions?
asked 7 months agoReturn a custom header from lambda authorizer in API-gateway (HTTP api)
asked 2 months agohttp lambda authorizer external api calls
asked 2 months agohttp authorizer lambda permissions
Accepted Answerasked 4 months agoWebsocket $connect route: headers and querystring empty on http integration
Accepted Answerasked 3 years agoHow to pass API Gateway authorizer context value as an HTTP header
asked a month agoHow to validate header values in the API Gateway request before the integration
Accepted AnswerApplication Load Balancer doesn't send user claims in HTTP headers
Accepted Answerasked 3 years ago
Hi, @Nirmal Kumar.
The previous question is not closed, and your answer is duplicated.
https://repost.aws/questions/QUqsVOC951SfWAGSQX3lWYKQ/how-to-pass-api-gateway-authorizer-context-value-as-an-http-header
You should follow the previous answer first.
And this question looks like a request to create a CDK code.
I think you'll get the answer if you ask a clear question about the implementation.