22
33exports [` Snapshot Stack 1` ] = `
44{
5+ " Mappings" : {
6+ " LatestNodeRuntimeMap" : {
7+ " af-south-1" : {
8+ " value" : " nodejs20.x" ,
9+ },
10+ " ap-east-1" : {
11+ " value" : " nodejs20.x" ,
12+ },
13+ " ap-northeast-1" : {
14+ " value" : " nodejs20.x" ,
15+ },
16+ " ap-northeast-2" : {
17+ " value" : " nodejs20.x" ,
18+ },
19+ " ap-northeast-3" : {
20+ " value" : " nodejs20.x" ,
21+ },
22+ " ap-south-1" : {
23+ " value" : " nodejs20.x" ,
24+ },
25+ " ap-south-2" : {
26+ " value" : " nodejs20.x" ,
27+ },
28+ " ap-southeast-1" : {
29+ " value" : " nodejs20.x" ,
30+ },
31+ " ap-southeast-2" : {
32+ " value" : " nodejs20.x" ,
33+ },
34+ " ap-southeast-3" : {
35+ " value" : " nodejs20.x" ,
36+ },
37+ " ap-southeast-4" : {
38+ " value" : " nodejs20.x" ,
39+ },
40+ " ap-southeast-5" : {
41+ " value" : " nodejs20.x" ,
42+ },
43+ " ap-southeast-7" : {
44+ " value" : " nodejs20.x" ,
45+ },
46+ " ca-central-1" : {
47+ " value" : " nodejs20.x" ,
48+ },
49+ " ca-west-1" : {
50+ " value" : " nodejs20.x" ,
51+ },
52+ " cn-north-1" : {
53+ " value" : " nodejs18.x" ,
54+ },
55+ " cn-northwest-1" : {
56+ " value" : " nodejs18.x" ,
57+ },
58+ " eu-central-1" : {
59+ " value" : " nodejs20.x" ,
60+ },
61+ " eu-central-2" : {
62+ " value" : " nodejs20.x" ,
63+ },
64+ " eu-isoe-west-1" : {
65+ " value" : " nodejs18.x" ,
66+ },
67+ " eu-north-1" : {
68+ " value" : " nodejs20.x" ,
69+ },
70+ " eu-south-1" : {
71+ " value" : " nodejs20.x" ,
72+ },
73+ " eu-south-2" : {
74+ " value" : " nodejs20.x" ,
75+ },
76+ " eu-west-1" : {
77+ " value" : " nodejs20.x" ,
78+ },
79+ " eu-west-2" : {
80+ " value" : " nodejs20.x" ,
81+ },
82+ " eu-west-3" : {
83+ " value" : " nodejs20.x" ,
84+ },
85+ " il-central-1" : {
86+ " value" : " nodejs20.x" ,
87+ },
88+ " me-central-1" : {
89+ " value" : " nodejs20.x" ,
90+ },
91+ " me-south-1" : {
92+ " value" : " nodejs20.x" ,
93+ },
94+ " mx-central-1" : {
95+ " value" : " nodejs20.x" ,
96+ },
97+ " sa-east-1" : {
98+ " value" : " nodejs20.x" ,
99+ },
100+ " us-east-1" : {
101+ " value" : " nodejs20.x" ,
102+ },
103+ " us-east-2" : {
104+ " value" : " nodejs20.x" ,
105+ },
106+ " us-gov-east-1" : {
107+ " value" : " nodejs18.x" ,
108+ },
109+ " us-gov-west-1" : {
110+ " value" : " nodejs18.x" ,
111+ },
112+ " us-iso-east-1" : {
113+ " value" : " nodejs18.x" ,
114+ },
115+ " us-iso-west-1" : {
116+ " value" : " nodejs18.x" ,
117+ },
118+ " us-isob-east-1" : {
119+ " value" : " nodejs18.x" ,
120+ },
121+ " us-west-1" : {
122+ " value" : " nodejs20.x" ,
123+ },
124+ " us-west-2" : {
125+ " value" : " nodejs20.x" ,
126+ },
127+ },
128+ },
5129 " Outputs" : {
6130 " apiUrl" : {
7131 " Value" : {
@@ -74,7 +198,7 @@ exports[`Snapshot Stack 1`] = `
74198 " S3Bucket" : {
75199 " Fn::Sub" : " cdk-hnb659fds-assets-\$ {AWS::AccountId}-\$ {AWS::Region}" ,
76200 },
77- " S3Key" : " 5bc602ecde93c947efe5899ae355f999986a1acbe610b1c0b9c468d738857555 .zip" ,
201+ " S3Key" : " 2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d .zip" ,
78202 },
79203 " Handler" : " index.handler" ,
80204 " Role" : {
@@ -83,7 +207,15 @@ exports[`Snapshot Stack 1`] = `
83207 " Arn" ,
84208 ],
85209 },
86- " Runtime" : " nodejs18.x" ,
210+ " Runtime" : {
211+ " Fn::FindInMap" : [
212+ " LatestNodeRuntimeMap" ,
213+ {
214+ " Ref" : " AWS::Region" ,
215+ },
216+ " value" ,
217+ ],
218+ },
87219 " Timeout" : 900 ,
88220 },
89221 " Type" : " AWS::Lambda::Function" ,
@@ -190,12 +322,11 @@ exports[`Snapshot Stack 1`] = `
190322 " S3Bucket" : {
191323 " Fn::Sub" : " cdk-hnb659fds-assets-\$ {AWS::AccountId}-\$ {AWS::Region}" ,
192324 },
193- " S3Key" : " a1deff17a695906f93c544b1deae2bf444210622f05330da961687eb8f4a51a7 .zip" ,
325+ " S3Key" : " ac3effd15afe0367563b5aacbaad876b4ea9cfdf084efbde296b9993d4395441 .zip" ,
194326 },
195327 " Description" : " Lambda Authorizer" ,
196328 " Environment" : {
197329 " Variables" : {
198- " AWS_NODEJS_CONNECTION_REUSE_ENABLED" : " 1" ,
199330 " NODE_OPTIONS" : " --enable-source-maps" ,
200331 },
201332 },
@@ -308,6 +439,7 @@ exports[`Snapshot Stack 1`] = `
308439 },
309440 " operationalAuthorizer363A7D2B" : {
310441 " Properties" : {
442+ " AuthorizerResultTtlInSeconds" : 300 ,
311443 " AuthorizerUri" : {
312444 " Fn::Join" : [
313445 " " ,
@@ -375,12 +507,11 @@ exports[`Snapshot Stack 1`] = `
375507 " S3Bucket" : {
376508 " Fn::Sub" : " cdk-hnb659fds-assets-\$ {AWS::AccountId}-\$ {AWS::Region}" ,
377509 },
378- " S3Key" : " 5ce4b859d5e57c3d238da3ac017e0ea37bf34ad1b71de268430b08e38bb9450d .zip" ,
510+ " S3Key" : " 23fe10ef355cbfff939f62c276e99337c50abb96e1c51dd018dbf0d3ce41a7bd .zip" ,
379511 },
380512 " Description" : " Operational Lambda" ,
381513 " Environment" : {
382514 " Variables" : {
383- " AWS_NODEJS_CONNECTION_REUSE_ENABLED" : " 1" ,
384515 " NODE_OPTIONS" : " --enable-source-maps" ,
385516 },
386517 },
0 commit comments