File tree Expand file tree Collapse file tree 4 files changed +151
-228
lines changed
typescript/inspector2/test/__snapshots__ Expand file tree Collapse file tree 4 files changed +151
-228
lines changed Original file line number Diff line number Diff line change 33exports [` Inspector2EnableDelegatedAdminAccountResource creates required resources 1` ] = `
44{
55 " Mappings" : {
6- " LatestNodeRuntimeMap " : {
6+ " DefaultCrNodeVersionMap " : {
77 " af-south-1" : {
8- " value" : " nodejs20 .x" ,
8+ " value" : " nodejs16 .x" ,
99 },
1010 " ap-east-1" : {
11- " value" : " nodejs20 .x" ,
11+ " value" : " nodejs16 .x" ,
1212 },
1313 " ap-northeast-1" : {
14- " value" : " nodejs20 .x" ,
14+ " value" : " nodejs16 .x" ,
1515 },
1616 " ap-northeast-2" : {
17- " value" : " nodejs20 .x" ,
17+ " value" : " nodejs16 .x" ,
1818 },
1919 " ap-northeast-3" : {
20- " value" : " nodejs20 .x" ,
20+ " value" : " nodejs16 .x" ,
2121 },
2222 " ap-south-1" : {
23- " value" : " nodejs20 .x" ,
23+ " value" : " nodejs16 .x" ,
2424 },
2525 " ap-south-2" : {
26- " value" : " nodejs20 .x" ,
26+ " value" : " nodejs16 .x" ,
2727 },
2828 " ap-southeast-1" : {
29- " value" : " nodejs20 .x" ,
29+ " value" : " nodejs16 .x" ,
3030 },
3131 " ap-southeast-2" : {
32- " value" : " nodejs20 .x" ,
32+ " value" : " nodejs16 .x" ,
3333 },
3434 " 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" ,
35+ " value" : " nodejs16.x" ,
4536 },
4637 " ca-central-1" : {
47- " value" : " nodejs20.x" ,
48- },
49- " ca-west-1" : {
50- " value" : " nodejs20.x" ,
38+ " value" : " nodejs16.x" ,
5139 },
5240 " cn-north-1" : {
53- " value" : " nodejs20 .x" ,
41+ " value" : " nodejs16 .x" ,
5442 },
5543 " cn-northwest-1" : {
56- " value" : " nodejs20 .x" ,
44+ " value" : " nodejs16 .x" ,
5745 },
5846 " eu-central-1" : {
59- " value" : " nodejs20 .x" ,
47+ " value" : " nodejs16 .x" ,
6048 },
6149 " eu-central-2" : {
62- " value" : " nodejs20.x" ,
63- },
64- " eu-isoe-west-1" : {
65- " value" : " nodejs18.x" ,
50+ " value" : " nodejs16.x" ,
6651 },
6752 " eu-north-1" : {
68- " value" : " nodejs20 .x" ,
53+ " value" : " nodejs16 .x" ,
6954 },
7055 " eu-south-1" : {
71- " value" : " nodejs20 .x" ,
56+ " value" : " nodejs16 .x" ,
7257 },
7358 " eu-south-2" : {
74- " value" : " nodejs20 .x" ,
59+ " value" : " nodejs16 .x" ,
7560 },
7661 " eu-west-1" : {
77- " value" : " nodejs20 .x" ,
62+ " value" : " nodejs16 .x" ,
7863 },
7964 " eu-west-2" : {
80- " value" : " nodejs20 .x" ,
65+ " value" : " nodejs16 .x" ,
8166 },
8267 " eu-west-3" : {
83- " value" : " nodejs20.x" ,
84- },
85- " il-central-1" : {
86- " value" : " nodejs20.x" ,
68+ " value" : " nodejs16.x" ,
8769 },
8870 " me-central-1" : {
89- " value" : " nodejs20 .x" ,
71+ " value" : " nodejs16 .x" ,
9072 },
9173 " me-south-1" : {
92- " value" : " nodejs20.x" ,
93- },
94- " mx-central-1" : {
95- " value" : " nodejs20.x" ,
74+ " value" : " nodejs16.x" ,
9675 },
9776 " sa-east-1" : {
98- " value" : " nodejs20 .x" ,
77+ " value" : " nodejs16 .x" ,
9978 },
10079 " us-east-1" : {
101- " value" : " nodejs20 .x" ,
80+ " value" : " nodejs16 .x" ,
10281 },
10382 " us-east-2" : {
104- " value" : " nodejs20 .x" ,
83+ " value" : " nodejs16 .x" ,
10584 },
10685 " us-gov-east-1" : {
107- " value" : " nodejs20 .x" ,
86+ " value" : " nodejs16 .x" ,
10887 },
10988 " us-gov-west-1" : {
110- " value" : " nodejs20 .x" ,
89+ " value" : " nodejs16 .x" ,
11190 },
11291 " us-iso-east-1" : {
113- " value" : " nodejs18 .x" ,
92+ " value" : " nodejs14 .x" ,
11493 },
11594 " us-iso-west-1" : {
116- " value" : " nodejs18 .x" ,
95+ " value" : " nodejs14 .x" ,
11796 },
11897 " us-isob-east-1" : {
119- " value" : " nodejs18 .x" ,
98+ " value" : " nodejs14 .x" ,
12099 },
121100 " us-west-1" : {
122- " value" : " nodejs20 .x" ,
101+ " value" : " nodejs16 .x" ,
123102 },
124103 " us-west-2" : {
125- " value" : " nodejs20 .x" ,
104+ " value" : " nodejs16 .x" ,
126105 },
127106 },
128107 },
@@ -146,7 +125,6 @@ exports[`Inspector2EnableDelegatedAdminAccountResource creates required resource
146125 " S3Key" : " NORMALIZED_ASSET_HASH.zip" ,
147126 },
148127 " Handler" : " index.handler" ,
149- " MemorySize" : 512 ,
150128 " Role" : {
151129 " Fn::GetAtt" : [
152130 " Inspector2EnableDelegatedAdminAccountResourceInspector2EnableResourceInspectorRole00253606" ,
@@ -155,7 +133,7 @@ exports[`Inspector2EnableDelegatedAdminAccountResource creates required resource
155133 },
156134 " Runtime" : {
157135 " Fn::FindInMap" : [
158- " LatestNodeRuntimeMap " ,
136+ " DefaultCrNodeVersionMap " ,
159137 {
160138 " Ref" : " AWS::Region" ,
161139 },
Original file line number Diff line number Diff line change 33exports [` Inspector2EnableResource creates required resources 1` ] = `
44{
55 " Mappings" : {
6- " LatestNodeRuntimeMap " : {
6+ " DefaultCrNodeVersionMap " : {
77 " af-south-1" : {
8- " value" : " nodejs20 .x" ,
8+ " value" : " nodejs16 .x" ,
99 },
1010 " ap-east-1" : {
11- " value" : " nodejs20 .x" ,
11+ " value" : " nodejs16 .x" ,
1212 },
1313 " ap-northeast-1" : {
14- " value" : " nodejs20 .x" ,
14+ " value" : " nodejs16 .x" ,
1515 },
1616 " ap-northeast-2" : {
17- " value" : " nodejs20 .x" ,
17+ " value" : " nodejs16 .x" ,
1818 },
1919 " ap-northeast-3" : {
20- " value" : " nodejs20 .x" ,
20+ " value" : " nodejs16 .x" ,
2121 },
2222 " ap-south-1" : {
23- " value" : " nodejs20 .x" ,
23+ " value" : " nodejs16 .x" ,
2424 },
2525 " ap-south-2" : {
26- " value" : " nodejs20 .x" ,
26+ " value" : " nodejs16 .x" ,
2727 },
2828 " ap-southeast-1" : {
29- " value" : " nodejs20 .x" ,
29+ " value" : " nodejs16 .x" ,
3030 },
3131 " ap-southeast-2" : {
32- " value" : " nodejs20 .x" ,
32+ " value" : " nodejs16 .x" ,
3333 },
3434 " 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" ,
35+ " value" : " nodejs16.x" ,
4536 },
4637 " ca-central-1" : {
47- " value" : " nodejs20.x" ,
48- },
49- " ca-west-1" : {
50- " value" : " nodejs20.x" ,
38+ " value" : " nodejs16.x" ,
5139 },
5240 " cn-north-1" : {
53- " value" : " nodejs20 .x" ,
41+ " value" : " nodejs16 .x" ,
5442 },
5543 " cn-northwest-1" : {
56- " value" : " nodejs20 .x" ,
44+ " value" : " nodejs16 .x" ,
5745 },
5846 " eu-central-1" : {
59- " value" : " nodejs20 .x" ,
47+ " value" : " nodejs16 .x" ,
6048 },
6149 " eu-central-2" : {
62- " value" : " nodejs20.x" ,
63- },
64- " eu-isoe-west-1" : {
65- " value" : " nodejs18.x" ,
50+ " value" : " nodejs16.x" ,
6651 },
6752 " eu-north-1" : {
68- " value" : " nodejs20 .x" ,
53+ " value" : " nodejs16 .x" ,
6954 },
7055 " eu-south-1" : {
71- " value" : " nodejs20 .x" ,
56+ " value" : " nodejs16 .x" ,
7257 },
7358 " eu-south-2" : {
74- " value" : " nodejs20 .x" ,
59+ " value" : " nodejs16 .x" ,
7560 },
7661 " eu-west-1" : {
77- " value" : " nodejs20 .x" ,
62+ " value" : " nodejs16 .x" ,
7863 },
7964 " eu-west-2" : {
80- " value" : " nodejs20 .x" ,
65+ " value" : " nodejs16 .x" ,
8166 },
8267 " eu-west-3" : {
83- " value" : " nodejs20.x" ,
84- },
85- " il-central-1" : {
86- " value" : " nodejs20.x" ,
68+ " value" : " nodejs16.x" ,
8769 },
8870 " me-central-1" : {
89- " value" : " nodejs20 .x" ,
71+ " value" : " nodejs16 .x" ,
9072 },
9173 " me-south-1" : {
92- " value" : " nodejs20.x" ,
93- },
94- " mx-central-1" : {
95- " value" : " nodejs20.x" ,
74+ " value" : " nodejs16.x" ,
9675 },
9776 " sa-east-1" : {
98- " value" : " nodejs20 .x" ,
77+ " value" : " nodejs16 .x" ,
9978 },
10079 " us-east-1" : {
101- " value" : " nodejs20 .x" ,
80+ " value" : " nodejs16 .x" ,
10281 },
10382 " us-east-2" : {
104- " value" : " nodejs20 .x" ,
83+ " value" : " nodejs16 .x" ,
10584 },
10685 " us-gov-east-1" : {
107- " value" : " nodejs20 .x" ,
86+ " value" : " nodejs16 .x" ,
10887 },
10988 " us-gov-west-1" : {
110- " value" : " nodejs20 .x" ,
89+ " value" : " nodejs16 .x" ,
11190 },
11291 " us-iso-east-1" : {
113- " value" : " nodejs18 .x" ,
92+ " value" : " nodejs14 .x" ,
11493 },
11594 " us-iso-west-1" : {
116- " value" : " nodejs18 .x" ,
95+ " value" : " nodejs14 .x" ,
11796 },
11897 " us-isob-east-1" : {
119- " value" : " nodejs18 .x" ,
98+ " value" : " nodejs14 .x" ,
12099 },
121100 " us-west-1" : {
122- " value" : " nodejs20 .x" ,
101+ " value" : " nodejs16 .x" ,
123102 },
124103 " us-west-2" : {
125- " value" : " nodejs20 .x" ,
104+ " value" : " nodejs16 .x" ,
126105 },
127106 },
128107 },
@@ -146,7 +125,6 @@ exports[`Inspector2EnableResource creates required resources 1`] = `
146125 " S3Key" : " NORMALIZED_ASSET_HASH.zip" ,
147126 },
148127 " Handler" : " index.handler" ,
149- " MemorySize" : 512 ,
150128 " Role" : {
151129 " Fn::GetAtt" : [
152130 " EnableInspector2ResourceInspectorRole75753456" ,
@@ -155,7 +133,7 @@ exports[`Inspector2EnableResource creates required resources 1`] = `
155133 },
156134 " Runtime" : {
157135 " Fn::FindInMap" : [
158- " LatestNodeRuntimeMap " ,
136+ " DefaultCrNodeVersionMap " ,
159137 {
160138 " Ref" : " AWS::Region" ,
161139 },
@@ -269,14 +247,13 @@ exports[`Inspector2EnableResource creates required resources 1`] = `
269247 },
270248 " Runtime" : {
271249 " Fn::FindInMap" : [
272- " LatestNodeRuntimeMap " ,
250+ " DefaultCrNodeVersionMap " ,
273251 {
274252 " Ref" : " AWS::Region" ,
275253 },
276254 " value" ,
277255 ],
278256 },
279- " Timeout" : 900 ,
280257 },
281258 " Type" : " AWS::Lambda::Function" ,
282259 },
You can’t perform that action at this time.
0 commit comments