Using HTTP API stage variable from Lambda function

723 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

According to the doc, you can get stage via requestContext -> stage.