-
Notifications
You must be signed in to change notification settings - Fork 0
/
aws-rest-event-env.json
148 lines (148 loc) · 4.3 KB
/
aws-rest-event-env.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
event: {
"resource": "/remainingsends",
"path": "/remainingsends",
"httpMethod": "GET",
"headers": {
"Accept-Encoding": "br,gzip",
"Authorization": "...",
"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-ASN": "16509",
"CloudFront-Viewer-Country": "US",
"Host": "<API GW ID>.execute-api.<Region>.amazonaws.com",
"User-Agent": "Amazon CloudFront",
"Via": "2.0 1152d84b916a23e4b38cef1a20064b3e.cloudfront.net (CloudFront), 1.1 7f5e0d3b9ea85d0d75063a66c0ebc840.cloudfront.net (CloudFront)",
"X-Amz-Cf-Id": "...",
"X-Amzn-Trace-Id": "Root=1-63138982-249e49d5194c49fd47d2a795",
"X-Forwarded-For": "136.29.71.125, 64.252.72.8, 70.132.31.74",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https"
},
"multiValueHeaders": {
"Accept-Encoding": [
"br,gzip"
],
"Authorization": [
"..."
],
"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-ASN": [
"16509"
],
"CloudFront-Viewer-Country": [
"US"
],
"Host": [
"<API GW ID>.execute-api.<Region>.amazonaws.com"
],
"User-Agent": [
"Amazon CloudFront"
],
"Via": [
"2.0 1152d84b916a23e4b38cef1a20064b3e.cloudfront.net (CloudFront), 1.1 7f5e0d3b9ea85d0d75063a66c0ebc840.cloudfront.net (CloudFront)"
],
"X-Amz-Cf-Id": [
"Ttnqg0Vrud_KrXqYSYNja-s8qKYxemmon0K_36J-GWwKGvWh0xTOdA=="
],
"X-Amzn-Trace-Id": [
"Root=1-63138982-249e49d5194c49fd47d2a795"
],
"X-Forwarded-For": [
"..."
],
"X-Forwarded-Port": [
"443"
],
"X-Forwarded-Proto": [
"https"
]
},
"queryStringParameters": null,
"multiValueQueryStringParameters": null,
"pathParameters": null,
"stageVariables": null,
"requestContext": {
"resourceId": "5ro4wb",
"authorizer": {
"claims": {...}
},
"resourcePath": "/remainingsends",
"httpMethod": "GET",
"extendedRequestId": "X5JsfGzwIAMFm4g=",
"requestTime": "03/Sep/2022:17:06:10 +0000",
"path": "/Prod/remainingsends",
"accountId": "...",
"protocol": "HTTP/1.1",
"stage": "Prod",
"domainPrefix": "<API GW ID>",
"requestTimeEpoch": 1662224770958,
"requestId": "82f0572b-c73b-403f-b142-404f9aed3177",
"identity": {
"cognitoIdentityPoolId": null,
"accountId": null,
"cognitoIdentityId": null,
"caller": null,
"sourceIp": "...",
"principalOrgId": null,
"accessKey": null,
"cognitoAuthenticationType": null,
"cognitoAuthenticationProvider": null,
"userArn": null,
"userAgent": "Amazon CloudFront",
"user": null
},
"domainName": "<API GW ID>.execute-api.<Region>.amazonaws.com",
"apiId": "<API GW ID>"
},
"body": null,
"isBase64Encoded": false
}
process.env: {
"AWS_LAMBDA_FUNCTION_VERSION": "$LATEST",
"AWS_SESSION_TOKEN": "...",
"LAMBDA_TASK_ROOT": "/var/task",
"AWS_LAMBDA_LOG_GROUP_NAME": "/aws/lambda/...",
"LD_LIBRARY_PATH": "/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib",
"MEMBER_TABLE": "brume_members",
"AWS_LAMBDA_RUNTIME_API": "127.0.0.1:9001",
"AWS_LAMBDA_LOG_STREAM_NAME": "...",
"AWS_EXECUTION_ENV": "AWS_Lambda_nodejs14.x",
"AWS_LAMBDA_FUNCTION_NAME": "...",
"AWS_XRAY_DAEMON_ADDRESS": "169.254.79.129:2000",
"PATH": "/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin",
"AWS_DEFAULT_REGION": "<Region>",
"PWD": "/var/task",
"AWS_SECRET_ACCESS_KEY": "...",
"LANG": "en_US.UTF-8",
"LAMBDA_RUNTIME_DIR": "/var/runtime",
"AWS_LAMBDA_INITIALIZATION_TYPE": "on-demand",
"NODE_PATH": "/opt/nodejs/node14/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules:/var/runtime:/var/task",
"TZ": ":UTC",
"AWS_REGION": "<Region>",
"AWS_ACCESS_KEY_ID": "...",
"SHLVL": "0",
"_AWS_XRAY_DAEMON_ADDRESS": "169.254.79.129",
"_AWS_XRAY_DAEMON_PORT": "2000",
"AWS_XRAY_CONTEXT_MISSING": "LOG_ERROR",
"_HANDLER": "app.lambdaHandler",
"AWS_LAMBDA_FUNCTION_MEMORY_SIZE": "128",
"NODE_EXTRA_CA_CERTS": "/etc/pki/tls/certs/ca-bundle.crt",
"_X_AMZN_TRACE_ID": "..."
}