forked from blueimp/aws-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-event.json
50 lines (50 loc) · 1.51 KB
/
test-event.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"resource": "/authorize-ip",
"path": "/authorize-ip",
"httpMethod": "POST",
"headers": {
"Accept": "*/*",
"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": "DE",
"Host": "xxxxxxxxxx.execute-api.eu-west-1.amazonaws.com",
"User-Agent": "curl/7.52.1",
"Via": "1.1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.cloudfront.net (CloudFront)",
"X-Amz-Cf-Id": "Cg==",
"x-api-key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"X-Forwarded-For": "127.0.0.1, 192.168.1.1",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https"
},
"queryStringParameters": null,
"pathParameters": null,
"stageVariables": null,
"requestContext": {
"accountId": "000000000000",
"resourceId": "xxxxxx",
"stage": "prod",
"requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"identity": {
"cognitoIdentityPoolId": null,
"accountId": null,
"cognitoIdentityId": null,
"caller": null,
"apiKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"sourceIp": "127.0.0.1",
"accessKey": null,
"cognitoAuthenticationType": null,
"cognitoAuthenticationProvider": null,
"userArn": null,
"userAgent": "curl/7.52.1",
"user": null
},
"resourcePath": "/authorize-ip",
"httpMethod": "POST",
"apiId": "xxxxxxxxxx"
},
"body": null,
"isBase64Encoded": false
}