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

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

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

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -