LoginSignup
2
2

More than 5 years have passed since last update.

AWS API Gateway でGETでアクセスした時の Lambda(event)の中身

Posted at
{
    "accountId":"",
    "apiId":"xxxxxxxxx",
    "apiKey":"",
    "caller":"",
    "headers":{
        "Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
        "Accept-Encoding":"gzip",
        "Accept-Language":"ja,en-US;q=0.8,en;q=0.6,pt;q=0.4",
        "CloudFront-Forwarded-Proto":"https",
        "CloudFront-Is-Desktop-Viewer":"true",
        "CloudFront-Is-Mobile-Viewer":"false",
        "CloudFront-Is-SmartTV-Viewer":"false",
        "CloudFront-Is-Tablet-Viewer":"false",
        "CloudFront-Viewer-Country":"JP",
        "Upgrade-Insecure-Requests":"1","Via":"1.1 xxxxxxxxxxxxxxafaacf802e539e.cloudfront.net (CloudFront)",
        "X-Amz-Cf-Id":"xxxxxxxxxxxxxxxxx7n8WzfvZXkEcWF7EZsJf9OZeyC3xT2GHA==",
        "X-Forwarded-For":"xxxx.xxx.x.xxx, xxx.xxx.xxx.xx",
        "X-Forwarded-Port":"443","X-Forwarded-Proto":"https"
    },
    "httpMethod":"GET",
    "path":"/ping",
    "pathParameters":{},
    "queryParameters":{
        "xxxxxx":"xxxxxx"
    },
    "requestId":"1132e878-xxxxxx-11e5-8c81-xxxxxxx",
    "requestParameters":{},
    "resourceId":"9oqc96",
    "sourceIp":"xxx.xxx.xxx.xxx",
    "stage":"production",
    "user":"",
    "userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36","userArn":""
}
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2