I\'m currently writing a Node.js lambda function, in which I want to log the incoming requester\'s public IP address. I\'ve been looking through both the API Gateway and Lam
In the API Gateway, it's the value
$context.identity.sourceIp
http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference
You can pass that through to your Lambda via a mapping template.