File tree Expand file tree Collapse file tree 4 files changed +230
-151
lines changed
typescript/inspector2/test/__snapshots__ Expand file tree Collapse file tree 4 files changed +230
-151
lines changed Original file line number Diff line number Diff line change 33exports [` Inspector2EnableDelegatedAdminAccountResource creates required resources 1` ] = `
44{
55 " Mappings" : {
6- " DefaultCrNodeVersionMap " : {
6+ " LatestNodeRuntimeMap " : {
77 " af-south-1" : {
8- " value" : " nodejs16 .x" ,
8+ " value" : " nodejs20 .x" ,
99 },
1010 " ap-east-1" : {
11- " value" : " nodejs16 .x" ,
11+ " value" : " nodejs20 .x" ,
1212 },
1313 " ap-northeast-1" : {
14- " value" : " nodejs16 .x" ,
14+ " value" : " nodejs20 .x" ,
1515 },
1616 " ap-northeast-2" : {
17- " value" : " nodejs16 .x" ,
17+ " value" : " nodejs20 .x" ,
1818 },
1919 " ap-northeast-3" : {
20- " value" : " nodejs16 .x" ,
20+ " value" : " nodejs20 .x" ,
2121 },
2222 " ap-south-1" : {
23- " value" : " nodejs16 .x" ,
23+ " value" : " nodejs20 .x" ,
2424 },
2525 " ap-south-2" : {
26- " value" : " nodejs16 .x" ,
26+ " value" : " nodejs20 .x" ,
2727 },
2828 " ap-southeast-1" : {
29- " value" : " nodejs16 .x" ,
29+ " value" : " nodejs20 .x" ,
3030 },
3131 " ap-southeast-2" : {
32- " value" : " nodejs16 .x" ,
32+ " value" : " nodejs20 .x" ,
3333 },
3434 " ap-southeast-3" : {
35- " value" : " nodejs16.x" ,
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" ,
3645 },
3746 " ca-central-1" : {
38- " value" : " nodejs16.x" ,
47+ " value" : " nodejs20.x" ,
48+ },
49+ " ca-west-1" : {
50+ " value" : " nodejs20.x" ,
3951 },
4052 " cn-north-1" : {
41- " value" : " nodejs16 .x" ,
53+ " value" : " nodejs20 .x" ,
4254 },
4355 " cn-northwest-1" : {
44- " value" : " nodejs16 .x" ,
56+ " value" : " nodejs20 .x" ,
4557 },
4658 " eu-central-1" : {
47- " value" : " nodejs16 .x" ,
59+ " value" : " nodejs20 .x" ,
4860 },
4961 " eu-central-2" : {
50- " value" : " nodejs16.x" ,
62+ " value" : " nodejs20.x" ,
63+ },
64+ " eu-isoe-west-1" : {
65+ " value" : " nodejs18.x" ,
5166 },
5267 " eu-north-1" : {
53- " value" : " nodejs16 .x" ,
68+ " value" : " nodejs20 .x" ,
5469 },
5570 " eu-south-1" : {
56- " value" : " nodejs16 .x" ,
71+ " value" : " nodejs20 .x" ,
5772 },
5873 " eu-south-2" : {
59- " value" : " nodejs16 .x" ,
74+ " value" : " nodejs20 .x" ,
6075 },
6176 " eu-west-1" : {
62- " value" : " nodejs16 .x" ,
77+ " value" : " nodejs20 .x" ,
6378 },
6479 " eu-west-2" : {
65- " value" : " nodejs16 .x" ,
80+ " value" : " nodejs20 .x" ,
6681 },
6782 " eu-west-3" : {
68- " value" : " nodejs16.x" ,
83+ " value" : " nodejs20.x" ,
84+ },
85+ " il-central-1" : {
86+ " value" : " nodejs20.x" ,
6987 },
7088 " me-central-1" : {
71- " value" : " nodejs16 .x" ,
89+ " value" : " nodejs20 .x" ,
7290 },
7391 " me-south-1" : {
74- " value" : " nodejs16.x" ,
92+ " value" : " nodejs20.x" ,
93+ },
94+ " mx-central-1" : {
95+ " value" : " nodejs20.x" ,
7596 },
7697 " sa-east-1" : {
77- " value" : " nodejs16 .x" ,
98+ " value" : " nodejs20 .x" ,
7899 },
79100 " us-east-1" : {
80- " value" : " nodejs16 .x" ,
101+ " value" : " nodejs20 .x" ,
81102 },
82103 " us-east-2" : {
83- " value" : " nodejs16 .x" ,
104+ " value" : " nodejs20 .x" ,
84105 },
85106 " us-gov-east-1" : {
86- " value" : " nodejs16 .x" ,
107+ " value" : " nodejs20 .x" ,
87108 },
88109 " us-gov-west-1" : {
89- " value" : " nodejs16 .x" ,
110+ " value" : " nodejs20 .x" ,
90111 },
91112 " us-iso-east-1" : {
92- " value" : " nodejs14 .x" ,
113+ " value" : " nodejs18 .x" ,
93114 },
94115 " us-iso-west-1" : {
95- " value" : " nodejs14 .x" ,
116+ " value" : " nodejs18 .x" ,
96117 },
97118 " us-isob-east-1" : {
98- " value" : " nodejs14 .x" ,
119+ " value" : " nodejs18 .x" ,
99120 },
100121 " us-west-1" : {
101- " value" : " nodejs16 .x" ,
122+ " value" : " nodejs20 .x" ,
102123 },
103124 " us-west-2" : {
104- " value" : " nodejs16 .x" ,
125+ " value" : " nodejs20 .x" ,
105126 },
106127 },
107128 },
@@ -125,6 +146,7 @@ exports[`Inspector2EnableDelegatedAdminAccountResource creates required resource
125146 " S3Key" : " NORMALIZED_ASSET_HASH.zip" ,
126147 },
127148 " Handler" : " index.handler" ,
149+ " MemorySize" : 512 ,
128150 " Role" : {
129151 " Fn::GetAtt" : [
130152 " Inspector2EnableDelegatedAdminAccountResourceInspector2EnableResourceInspectorRole00253606" ,
@@ -133,7 +155,7 @@ exports[`Inspector2EnableDelegatedAdminAccountResource creates required resource
133155 },
134156 " Runtime" : {
135157 " Fn::FindInMap" : [
136- " DefaultCrNodeVersionMap " ,
158+ " LatestNodeRuntimeMap " ,
137159 {
138160 " Ref" : " AWS::Region" ,
139161 },
Original file line number Diff line number Diff line change 33exports [` Inspector2EnableResource creates required resources 1` ] = `
44{
55 " Mappings" : {
6- " DefaultCrNodeVersionMap " : {
6+ " LatestNodeRuntimeMap " : {
77 " af-south-1" : {
8- " value" : " nodejs16 .x" ,
8+ " value" : " nodejs20 .x" ,
99 },
1010 " ap-east-1" : {
11- " value" : " nodejs16 .x" ,
11+ " value" : " nodejs20 .x" ,
1212 },
1313 " ap-northeast-1" : {
14- " value" : " nodejs16 .x" ,
14+ " value" : " nodejs20 .x" ,
1515 },
1616 " ap-northeast-2" : {
17- " value" : " nodejs16 .x" ,
17+ " value" : " nodejs20 .x" ,
1818 },
1919 " ap-northeast-3" : {
20- " value" : " nodejs16 .x" ,
20+ " value" : " nodejs20 .x" ,
2121 },
2222 " ap-south-1" : {
23- " value" : " nodejs16 .x" ,
23+ " value" : " nodejs20 .x" ,
2424 },
2525 " ap-south-2" : {
26- " value" : " nodejs16 .x" ,
26+ " value" : " nodejs20 .x" ,
2727 },
2828 " ap-southeast-1" : {
29- " value" : " nodejs16 .x" ,
29+ " value" : " nodejs20 .x" ,
3030 },
3131 " ap-southeast-2" : {
32- " value" : " nodejs16 .x" ,
32+ " value" : " nodejs20 .x" ,
3333 },
3434 " ap-southeast-3" : {
35- " value" : " nodejs16.x" ,
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" ,
3645 },
3746 " ca-central-1" : {
38- " value" : " nodejs16.x" ,
47+ " value" : " nodejs20.x" ,
48+ },
49+ " ca-west-1" : {
50+ " value" : " nodejs20.x" ,
3951 },
4052 " cn-north-1" : {
41- " value" : " nodejs16 .x" ,
53+ " value" : " nodejs20 .x" ,
4254 },
4355 " cn-northwest-1" : {
44- " value" : " nodejs16 .x" ,
56+ " value" : " nodejs20 .x" ,
4557 },
4658 " eu-central-1" : {
47- " value" : " nodejs16 .x" ,
59+ " value" : " nodejs20 .x" ,
4860 },
4961 " eu-central-2" : {
50- " value" : " nodejs16.x" ,
62+ " value" : " nodejs20.x" ,
63+ },
64+ " eu-isoe-west-1" : {
65+ " value" : " nodejs18.x" ,
5166 },
5267 " eu-north-1" : {
53- " value" : " nodejs16 .x" ,
68+ " value" : " nodejs20 .x" ,
5469 },
5570 " eu-south-1" : {
56- " value" : " nodejs16 .x" ,
71+ " value" : " nodejs20 .x" ,
5772 },
5873 " eu-south-2" : {
59- " value" : " nodejs16 .x" ,
74+ " value" : " nodejs20 .x" ,
6075 },
6176 " eu-west-1" : {
62- " value" : " nodejs16 .x" ,
77+ " value" : " nodejs20 .x" ,
6378 },
6479 " eu-west-2" : {
65- " value" : " nodejs16 .x" ,
80+ " value" : " nodejs20 .x" ,
6681 },
6782 " eu-west-3" : {
68- " value" : " nodejs16.x" ,
83+ " value" : " nodejs20.x" ,
84+ },
85+ " il-central-1" : {
86+ " value" : " nodejs20.x" ,
6987 },
7088 " me-central-1" : {
71- " value" : " nodejs16 .x" ,
89+ " value" : " nodejs20 .x" ,
7290 },
7391 " me-south-1" : {
74- " value" : " nodejs16.x" ,
92+ " value" : " nodejs20.x" ,
93+ },
94+ " mx-central-1" : {
95+ " value" : " nodejs20.x" ,
7596 },
7697 " sa-east-1" : {
77- " value" : " nodejs16 .x" ,
98+ " value" : " nodejs20 .x" ,
7899 },
79100 " us-east-1" : {
80- " value" : " nodejs16 .x" ,
101+ " value" : " nodejs20 .x" ,
81102 },
82103 " us-east-2" : {
83- " value" : " nodejs16 .x" ,
104+ " value" : " nodejs20 .x" ,
84105 },
85106 " us-gov-east-1" : {
86- " value" : " nodejs16 .x" ,
107+ " value" : " nodejs20 .x" ,
87108 },
88109 " us-gov-west-1" : {
89- " value" : " nodejs16 .x" ,
110+ " value" : " nodejs20 .x" ,
90111 },
91112 " us-iso-east-1" : {
92- " value" : " nodejs14 .x" ,
113+ " value" : " nodejs18 .x" ,
93114 },
94115 " us-iso-west-1" : {
95- " value" : " nodejs14 .x" ,
116+ " value" : " nodejs18 .x" ,
96117 },
97118 " us-isob-east-1" : {
98- " value" : " nodejs14 .x" ,
119+ " value" : " nodejs18 .x" ,
99120 },
100121 " us-west-1" : {
101- " value" : " nodejs16 .x" ,
122+ " value" : " nodejs20 .x" ,
102123 },
103124 " us-west-2" : {
104- " value" : " nodejs16 .x" ,
125+ " value" : " nodejs20 .x" ,
105126 },
106127 },
107128 },
@@ -125,6 +146,7 @@ exports[`Inspector2EnableResource creates required resources 1`] = `
125146 " S3Key" : " NORMALIZED_ASSET_HASH.zip" ,
126147 },
127148 " Handler" : " index.handler" ,
149+ " MemorySize" : 512 ,
128150 " Role" : {
129151 " Fn::GetAtt" : [
130152 " EnableInspector2ResourceInspectorRole75753456" ,
@@ -133,7 +155,7 @@ exports[`Inspector2EnableResource creates required resources 1`] = `
133155 },
134156 " Runtime" : {
135157 " Fn::FindInMap" : [
136- " DefaultCrNodeVersionMap " ,
158+ " LatestNodeRuntimeMap " ,
137159 {
138160 " Ref" : " AWS::Region" ,
139161 },
@@ -247,13 +269,14 @@ exports[`Inspector2EnableResource creates required resources 1`] = `
247269 },
248270 " Runtime" : {
249271 " Fn::FindInMap" : [
250- " DefaultCrNodeVersionMap " ,
272+ " LatestNodeRuntimeMap " ,
251273 {
252274 " Ref" : " AWS::Region" ,
253275 },
254276 " value" ,
255277 ],
256278 },
279+ " Timeout" : 900 ,
257280 },
258281 " Type" : " AWS::Lambda::Function" ,
259282 },
You can’t perform that action at this time.
0 commit comments