aws - how to pass stage variables in API Gateway to Lambda function?

Viewed 782

(Ruby)

I have an APIGateway and a lambda function.
I can define environment variables in lambda and see them.
How do I access the API Gateway variables inside the lambda function ?
I'm thinking they are in the event hash but not sure how to put them there if so.

Lambda

enter image description here

API Gateway

enter image description here

Cloud Watch Logs

enter image description here

0 Answers
Related