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

many to many - Django Rest Framework ManyToMany filter multiple values -

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

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