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

serialization - Convert Any type in scala to Array[Byte] and back -

Slow performance first queries on SQL Azure -

Java Entity Manager - JSON reader was expecting a value but found 'db' -