amazon web services - Api Gateway access UserAgent and Ip from Custom Authorizer -


in body mapping template of apigateway resource can pass user-agent , ip of client lambda function.

{     "client_ip":"$util.escapejavascript($input.params('x-forwarded-for'))",     "user_agent" : "$util.escapejavascript($input.params('user-agent'))" } 

is possible pass information before? lambda function used custom authorizer apigateway?

you can't modify contents of what's being sent authorizer. available things methodarn, authorizatontoken , type.


Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -