Using HTTP API stage variable from Lambda function
In AWS API Gateway / HTTP API (not REST API), I've set a stage variable. Is there a way to get the value of that variable in a Lambda function that's called through that API?
Solution
According to the doc, you can get stage via requestContext -> stage.