@mavogel/cdk-vscode-server 0.0.60 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.claude/hooks/file_checker.sh +3 -0
  2. package/.jsii +453 -30
  3. package/API.md +514 -0
  4. package/README.md +57 -0
  5. package/assets/idle-monitor/idle-monitor.lambda/index.js +110 -0
  6. package/assets/status-check/status-check.lambda/index.js +123 -0
  7. package/examples/auto-stop/main.ts +75 -0
  8. package/integ-tests/functions/idle-test-handler.ts +178 -0
  9. package/integ-tests/functions/login-handler.ts +62 -33
  10. package/integ-tests/integ.al2023.ts.snapshot/read.13497.1.lock +1 -0
  11. package/integ-tests/integ.custom-domain.ts.snapshot/read.13497.1.lock +1 -0
  12. package/integ-tests/integ.stop-on-idle.ts +175 -0
  13. package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegStopOnIdleFunctionalityDefaultTestDeployAssertEECF3FC0.assets.json +33 -0
  14. package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegStopOnIdleFunctionalityDefaultTestDeployAssertEECF3FC0.template.json +692 -0
  15. package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegTestStackStopOnIdle.assets.json +146 -0
  16. package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegTestStackStopOnIdle.template.json +3077 -0
  17. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d/index.js +1 -0
  18. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.33da23274e25bd9f43638c5d83dad26e3931cbe78d462ffd9a9f565e948b4f5f.lambda/index.js +143 -0
  19. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.bundle/index.js +30676 -0
  20. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.781ab0ab74634cdaf61539ab208ab777829ef07097ac21f95b9e15a3b1eedc1b.lambda/index.js +57 -0
  21. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  22. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  23. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.8dd4be31c5a6cd8750dc55c07c1e2f19596f8a27b032d02c18554ed44eabe065.lambda/index.js +110 -0
  24. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.9d043014be736e8162bcc7ec5590cc6d2ff24fd0d9c73a5c5d595151c5fdad00/index.js +1 -0
  25. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/cfn-response.js +1 -0
  26. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/consts.js +1 -0
  27. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/framework.js +3 -0
  28. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/outbound.js +1 -0
  29. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/util.js +1 -0
  30. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.d061a1ca61c6339fcb77bb6fc19194a60c96bb16531eaf1e4e733b50089512ca/index.js +118 -0
  31. package/integ-tests/integ.stop-on-idle.ts.snapshot/asset.efac30c7091c58fed492058fa6403c14f7e58aab8cf4fd595d838b8d5eeec2b9/index.js +6017 -0
  32. package/integ-tests/integ.stop-on-idle.ts.snapshot/integ.json +20 -0
  33. package/integ-tests/integ.stop-on-idle.ts.snapshot/manifest.json +1942 -0
  34. package/integ-tests/integ.stop-on-idle.ts.snapshot/tree.json +1 -0
  35. package/integ-tests/integ.ubuntu.ts.snapshot/read.13497.1.lock +1 -0
  36. package/lib/idle-monitor/idle-monitor-function.d.ts +13 -0
  37. package/lib/idle-monitor/idle-monitor-function.js +22 -0
  38. package/lib/idle-monitor/idle-monitor.d.ts +53 -0
  39. package/lib/idle-monitor/idle-monitor.js +84 -0
  40. package/lib/idle-monitor/idle-monitor.lambda.d.ts +2 -0
  41. package/lib/idle-monitor/idle-monitor.lambda.js +97 -0
  42. package/lib/index.d.ts +2 -0
  43. package/lib/index.js +3 -1
  44. package/lib/status-check/status-check-function.d.ts +13 -0
  45. package/lib/status-check/status-check-function.js +22 -0
  46. package/lib/status-check/status-check.d.ts +36 -0
  47. package/lib/status-check/status-check.js +109 -0
  48. package/lib/status-check/status-check.lambda.d.ts +2 -0
  49. package/lib/status-check/status-check.lambda.js +104 -0
  50. package/lib/vscode-server.d.ts +42 -0
  51. package/lib/vscode-server.js +51 -7
  52. package/mavogelcdkvscodeserver/go.mod +1 -1
  53. package/mavogelcdkvscodeserver/jsii/jsii.go +2 -2
  54. package/mavogelcdkvscodeserver/version +1 -1
  55. package/package.json +21 -16
@@ -0,0 +1,692 @@
1
+ {
2
+ "Resources": {
3
+ "LambdaInvoke2b0ac1bc65c03d14e22d254e216f0637": {
4
+ "Type": "Custom::DeployAssert@SdkCallLambdainvoke",
5
+ "Properties": {
6
+ "ServiceToken": {
7
+ "Fn::GetAtt": [
8
+ "SingletonFunction1488541a7b23466481b69b4408076b81HandlerCD40AE9F",
9
+ "Arn"
10
+ ]
11
+ },
12
+ "service": "Lambda",
13
+ "api": "invoke",
14
+ "expected": "{\"$ObjectLike\":{\"Payload\":\"\\\"STOPPED\\\"\"}}",
15
+ "parameters": {
16
+ "FunctionName": {
17
+ "Fn::Join": [
18
+ "",
19
+ [
20
+ "\"",
21
+ {
22
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
23
+ },
24
+ "\""
25
+ ]
26
+ ]
27
+ },
28
+ "InvocationType": "\"RequestResponse\"",
29
+ "LogType": "\"Tail\"",
30
+ "Payload": {
31
+ "Fn::Join": [
32
+ "",
33
+ [
34
+ "\"{\\\"testPhase\\\":\\\"verify-auto-stop\\\",\\\"domainName\\\":\\\"https://",
35
+ {
36
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputFnGetAttIntegVSCodeServercfdistributionFDBE873FDomainName3CB40F9D"
37
+ },
38
+ "/?folder=/Workshop\\\",\\\"instanceId\\\":\\\"",
39
+ {
40
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefIntegVSCodeServerserverinstance0A3D62D7BC0861E5"
41
+ },
42
+ "\\\",\\\"idleTimeoutMinutes\\\":2}\""
43
+ ]
44
+ ]
45
+ }
46
+ },
47
+ "flattenResponse": "false",
48
+ "salt": "1762107044729"
49
+ },
50
+ "UpdateReplacePolicy": "Delete",
51
+ "DeletionPolicy": "Delete"
52
+ },
53
+ "LambdaInvoke2b0ac1bc65c03d14e22d254e216f0637Invoke529602B8": {
54
+ "Type": "AWS::Lambda::Permission",
55
+ "Properties": {
56
+ "Action": "lambda:InvokeFunction",
57
+ "FunctionName": {
58
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
59
+ },
60
+ "Principal": {
61
+ "Fn::GetAtt": [
62
+ "SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73",
63
+ "Arn"
64
+ ]
65
+ }
66
+ }
67
+ },
68
+ "SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73": {
69
+ "Type": "AWS::IAM::Role",
70
+ "Properties": {
71
+ "AssumeRolePolicyDocument": {
72
+ "Version": "2012-10-17",
73
+ "Statement": [
74
+ {
75
+ "Action": "sts:AssumeRole",
76
+ "Effect": "Allow",
77
+ "Principal": {
78
+ "Service": "lambda.amazonaws.com"
79
+ }
80
+ }
81
+ ]
82
+ },
83
+ "ManagedPolicyArns": [
84
+ {
85
+ "Fn::Sub": "arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
86
+ }
87
+ ],
88
+ "Policies": [
89
+ {
90
+ "PolicyName": "Inline",
91
+ "PolicyDocument": {
92
+ "Version": "2012-10-17",
93
+ "Statement": [
94
+ {
95
+ "Action": [
96
+ "lambda:Invoke"
97
+ ],
98
+ "Effect": "Allow",
99
+ "Resource": [
100
+ "*"
101
+ ]
102
+ },
103
+ {
104
+ "Action": [
105
+ "lambda:InvokeFunction"
106
+ ],
107
+ "Effect": "Allow",
108
+ "Resource": [
109
+ {
110
+ "Fn::Join": [
111
+ "",
112
+ [
113
+ "arn:",
114
+ {
115
+ "Ref": "AWS::Partition"
116
+ },
117
+ ":lambda:",
118
+ {
119
+ "Ref": "AWS::Region"
120
+ },
121
+ ":",
122
+ {
123
+ "Ref": "AWS::AccountId"
124
+ },
125
+ ":function:",
126
+ {
127
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
128
+ }
129
+ ]
130
+ ]
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "Action": [
136
+ "lambda:Invoke"
137
+ ],
138
+ "Effect": "Allow",
139
+ "Resource": [
140
+ "*"
141
+ ]
142
+ },
143
+ {
144
+ "Action": [
145
+ "lambda:InvokeFunction"
146
+ ],
147
+ "Effect": "Allow",
148
+ "Resource": [
149
+ {
150
+ "Fn::Join": [
151
+ "",
152
+ [
153
+ "arn:",
154
+ {
155
+ "Ref": "AWS::Partition"
156
+ },
157
+ ":lambda:",
158
+ {
159
+ "Ref": "AWS::Region"
160
+ },
161
+ ":",
162
+ {
163
+ "Ref": "AWS::AccountId"
164
+ },
165
+ ":function:",
166
+ {
167
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
168
+ }
169
+ ]
170
+ ]
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "Action": [
176
+ "lambda:Invoke"
177
+ ],
178
+ "Effect": "Allow",
179
+ "Resource": [
180
+ "*"
181
+ ]
182
+ },
183
+ {
184
+ "Action": [
185
+ "lambda:InvokeFunction"
186
+ ],
187
+ "Effect": "Allow",
188
+ "Resource": [
189
+ {
190
+ "Fn::Join": [
191
+ "",
192
+ [
193
+ "arn:",
194
+ {
195
+ "Ref": "AWS::Partition"
196
+ },
197
+ ":lambda:",
198
+ {
199
+ "Ref": "AWS::Region"
200
+ },
201
+ ":",
202
+ {
203
+ "Ref": "AWS::AccountId"
204
+ },
205
+ ":function:",
206
+ {
207
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
208
+ }
209
+ ]
210
+ ]
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "Action": [
216
+ "lambda:Invoke"
217
+ ],
218
+ "Effect": "Allow",
219
+ "Resource": [
220
+ "*"
221
+ ]
222
+ },
223
+ {
224
+ "Action": [
225
+ "lambda:InvokeFunction"
226
+ ],
227
+ "Effect": "Allow",
228
+ "Resource": [
229
+ {
230
+ "Fn::Join": [
231
+ "",
232
+ [
233
+ "arn:",
234
+ {
235
+ "Ref": "AWS::Partition"
236
+ },
237
+ ":lambda:",
238
+ {
239
+ "Ref": "AWS::Region"
240
+ },
241
+ ":",
242
+ {
243
+ "Ref": "AWS::AccountId"
244
+ },
245
+ ":function:",
246
+ {
247
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefloginhandler99CCCCFD29CE21C0"
248
+ }
249
+ ]
250
+ ]
251
+ }
252
+ ]
253
+ }
254
+ ]
255
+ }
256
+ }
257
+ ]
258
+ }
259
+ },
260
+ "SingletonFunction1488541a7b23466481b69b4408076b81HandlerCD40AE9F": {
261
+ "Type": "AWS::Lambda::Function",
262
+ "Properties": {
263
+ "Runtime": {
264
+ "Fn::FindInMap": [
265
+ "LatestNodeRuntimeMap",
266
+ {
267
+ "Ref": "AWS::Region"
268
+ },
269
+ "value"
270
+ ]
271
+ },
272
+ "Code": {
273
+ "S3Bucket": {
274
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
275
+ },
276
+ "S3Key": "530055f7515b3f0a47900f5df37e729ba40ca977b2d07b952bdefa2b8f883f42.zip"
277
+ },
278
+ "Timeout": 120,
279
+ "Handler": "index.handler",
280
+ "Role": {
281
+ "Fn::GetAtt": [
282
+ "SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73",
283
+ "Arn"
284
+ ]
285
+ }
286
+ }
287
+ },
288
+ "LambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921b": {
289
+ "Type": "Custom::DeployAssert@SdkCallLambdainvoke",
290
+ "Properties": {
291
+ "ServiceToken": {
292
+ "Fn::GetAtt": [
293
+ "SingletonFunction1488541a7b23466481b69b4408076b81HandlerCD40AE9F",
294
+ "Arn"
295
+ ]
296
+ },
297
+ "service": "Lambda",
298
+ "api": "invoke",
299
+ "expected": "{\"$ObjectLike\":{\"Payload\":\"\\\"DISABLED\\\"\"}}",
300
+ "parameters": {
301
+ "FunctionName": {
302
+ "Fn::Join": [
303
+ "",
304
+ [
305
+ "\"",
306
+ {
307
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
308
+ },
309
+ "\""
310
+ ]
311
+ ]
312
+ },
313
+ "InvocationType": "\"RequestResponse\"",
314
+ "LogType": "\"Tail\"",
315
+ "Payload": {
316
+ "Fn::Join": [
317
+ "",
318
+ [
319
+ "\"{\\\"testPhase\\\":\\\"disable-idle-monitor\\\",\\\"idleMonitorRuleName\\\":\\\"",
320
+ {
321
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefIntegVSCodeServerIdleMonitorScheduleRuleCF2E60F550AA072C"
322
+ },
323
+ "\\\"}\""
324
+ ]
325
+ ]
326
+ }
327
+ },
328
+ "flattenResponse": "false",
329
+ "salt": "1762107044730"
330
+ },
331
+ "DependsOn": [
332
+ "LambdaInvoke2b0ac1bc65c03d14e22d254e216f0637",
333
+ "LambdaInvoke2b0ac1bc65c03d14e22d254e216f0637Invoke529602B8"
334
+ ],
335
+ "UpdateReplacePolicy": "Delete",
336
+ "DeletionPolicy": "Delete"
337
+ },
338
+ "LambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921bInvokeE3C593A0": {
339
+ "Type": "AWS::Lambda::Permission",
340
+ "Properties": {
341
+ "Action": "lambda:InvokeFunction",
342
+ "FunctionName": {
343
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
344
+ },
345
+ "Principal": {
346
+ "Fn::GetAtt": [
347
+ "SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73",
348
+ "Arn"
349
+ ]
350
+ }
351
+ },
352
+ "DependsOn": [
353
+ "LambdaInvoke2b0ac1bc65c03d14e22d254e216f0637",
354
+ "LambdaInvoke2b0ac1bc65c03d14e22d254e216f0637Invoke529602B8"
355
+ ]
356
+ },
357
+ "LambdaInvokedc3da1442e925b8c33569d5fea03b0f7": {
358
+ "Type": "Custom::DeployAssert@SdkCallLambdainvoke",
359
+ "Properties": {
360
+ "ServiceToken": {
361
+ "Fn::GetAtt": [
362
+ "SingletonFunction1488541a7b23466481b69b4408076b81HandlerCD40AE9F",
363
+ "Arn"
364
+ ]
365
+ },
366
+ "service": "Lambda",
367
+ "api": "invoke",
368
+ "expected": "{\"$ObjectLike\":{\"Payload\":\"\\\"RUNNING\\\"\"}}",
369
+ "parameters": {
370
+ "FunctionName": {
371
+ "Fn::Join": [
372
+ "",
373
+ [
374
+ "\"",
375
+ {
376
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
377
+ },
378
+ "\""
379
+ ]
380
+ ]
381
+ },
382
+ "InvocationType": "\"RequestResponse\"",
383
+ "LogType": "\"Tail\"",
384
+ "Payload": {
385
+ "Fn::Join": [
386
+ "",
387
+ [
388
+ "\"{\\\"testPhase\\\":\\\"start-instance\\\",\\\"instanceId\\\":\\\"",
389
+ {
390
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefIntegVSCodeServerserverinstance0A3D62D7BC0861E5"
391
+ },
392
+ "\\\"}\""
393
+ ]
394
+ ]
395
+ }
396
+ },
397
+ "flattenResponse": "false",
398
+ "salt": "1762107044730"
399
+ },
400
+ "DependsOn": [
401
+ "LambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921b",
402
+ "LambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921bInvokeE3C593A0"
403
+ ],
404
+ "UpdateReplacePolicy": "Delete",
405
+ "DeletionPolicy": "Delete"
406
+ },
407
+ "LambdaInvokedc3da1442e925b8c33569d5fea03b0f7Invoke9C84C933": {
408
+ "Type": "AWS::Lambda::Permission",
409
+ "Properties": {
410
+ "Action": "lambda:InvokeFunction",
411
+ "FunctionName": {
412
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefidletesthandler1A304024FDE25B36"
413
+ },
414
+ "Principal": {
415
+ "Fn::GetAtt": [
416
+ "SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73",
417
+ "Arn"
418
+ ]
419
+ }
420
+ },
421
+ "DependsOn": [
422
+ "LambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921b",
423
+ "LambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921bInvokeE3C593A0"
424
+ ]
425
+ },
426
+ "LambdaInvoke493987f824f978002013a8ed7c9980f4": {
427
+ "Type": "Custom::DeployAssert@SdkCallLambdainvoke",
428
+ "Properties": {
429
+ "ServiceToken": {
430
+ "Fn::GetAtt": [
431
+ "SingletonFunction1488541a7b23466481b69b4408076b81HandlerCD40AE9F",
432
+ "Arn"
433
+ ]
434
+ },
435
+ "service": "Lambda",
436
+ "api": "invoke",
437
+ "expected": "{\"$ObjectLike\":{\"Payload\":\"\\\"OK\\\"\"}}",
438
+ "parameters": {
439
+ "FunctionName": {
440
+ "Fn::Join": [
441
+ "",
442
+ [
443
+ "\"",
444
+ {
445
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefloginhandler99CCCCFD29CE21C0"
446
+ },
447
+ "\""
448
+ ]
449
+ ]
450
+ },
451
+ "InvocationType": "\"RequestResponse\"",
452
+ "LogType": "\"Tail\"",
453
+ "Payload": {
454
+ "Fn::Join": [
455
+ "",
456
+ [
457
+ "\"{\\\"domainName\\\":\\\"https://",
458
+ {
459
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputFnGetAttIntegVSCodeServercfdistributionFDBE873FDomainName3CB40F9D"
460
+ },
461
+ "/?folder=/Workshop\\\",\\\"password\\\":\\\"",
462
+ {
463
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputFnGetAttIntegVSCodeServerSecretRetrieverCustomResource2F3DB8BDsecretPasswordValue1223507B"
464
+ },
465
+ "\\\"}\""
466
+ ]
467
+ ]
468
+ }
469
+ },
470
+ "flattenResponse": "false",
471
+ "salt": "1762107044731"
472
+ },
473
+ "DependsOn": [
474
+ "LambdaInvokedc3da1442e925b8c33569d5fea03b0f7",
475
+ "LambdaInvokedc3da1442e925b8c33569d5fea03b0f7Invoke9C84C933"
476
+ ],
477
+ "UpdateReplacePolicy": "Delete",
478
+ "DeletionPolicy": "Delete"
479
+ },
480
+ "LambdaInvoke493987f824f978002013a8ed7c9980f4Invoke4806B64D": {
481
+ "Type": "AWS::Lambda::Permission",
482
+ "Properties": {
483
+ "Action": "lambda:InvokeFunction",
484
+ "FunctionName": {
485
+ "Fn::ImportValue": "IntegTestStackStopOnIdle:ExportsOutputRefloginhandler99CCCCFD29CE21C0"
486
+ },
487
+ "Principal": {
488
+ "Fn::GetAtt": [
489
+ "SingletonFunction1488541a7b23466481b69b4408076b81Role37ABCE73",
490
+ "Arn"
491
+ ]
492
+ }
493
+ },
494
+ "DependsOn": [
495
+ "LambdaInvokedc3da1442e925b8c33569d5fea03b0f7",
496
+ "LambdaInvokedc3da1442e925b8c33569d5fea03b0f7Invoke9C84C933"
497
+ ]
498
+ }
499
+ },
500
+ "Outputs": {
501
+ "AssertionResultsLambdaInvoke2b0ac1bc65c03d14e22d254e216f0637": {
502
+ "Value": {
503
+ "Fn::GetAtt": [
504
+ "LambdaInvoke2b0ac1bc65c03d14e22d254e216f0637",
505
+ "assertion"
506
+ ]
507
+ }
508
+ },
509
+ "AssertionResultsLambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921b": {
510
+ "Value": {
511
+ "Fn::GetAtt": [
512
+ "LambdaInvoke7ec14df5ab88e3e4c0d00edb2d94921b",
513
+ "assertion"
514
+ ]
515
+ }
516
+ },
517
+ "AssertionResultsLambdaInvokedc3da1442e925b8c33569d5fea03b0f7": {
518
+ "Value": {
519
+ "Fn::GetAtt": [
520
+ "LambdaInvokedc3da1442e925b8c33569d5fea03b0f7",
521
+ "assertion"
522
+ ]
523
+ }
524
+ },
525
+ "AssertionResultsLambdaInvoke493987f824f978002013a8ed7c9980f4": {
526
+ "Value": {
527
+ "Fn::GetAtt": [
528
+ "LambdaInvoke493987f824f978002013a8ed7c9980f4",
529
+ "assertion"
530
+ ]
531
+ }
532
+ }
533
+ },
534
+ "Mappings": {
535
+ "LatestNodeRuntimeMap": {
536
+ "af-south-1": {
537
+ "value": "nodejs20.x"
538
+ },
539
+ "ap-east-1": {
540
+ "value": "nodejs20.x"
541
+ },
542
+ "ap-northeast-1": {
543
+ "value": "nodejs20.x"
544
+ },
545
+ "ap-northeast-2": {
546
+ "value": "nodejs20.x"
547
+ },
548
+ "ap-northeast-3": {
549
+ "value": "nodejs20.x"
550
+ },
551
+ "ap-south-1": {
552
+ "value": "nodejs20.x"
553
+ },
554
+ "ap-south-2": {
555
+ "value": "nodejs20.x"
556
+ },
557
+ "ap-southeast-1": {
558
+ "value": "nodejs20.x"
559
+ },
560
+ "ap-southeast-2": {
561
+ "value": "nodejs20.x"
562
+ },
563
+ "ap-southeast-3": {
564
+ "value": "nodejs20.x"
565
+ },
566
+ "ap-southeast-4": {
567
+ "value": "nodejs20.x"
568
+ },
569
+ "ap-southeast-5": {
570
+ "value": "nodejs20.x"
571
+ },
572
+ "ap-southeast-7": {
573
+ "value": "nodejs20.x"
574
+ },
575
+ "ca-central-1": {
576
+ "value": "nodejs20.x"
577
+ },
578
+ "ca-west-1": {
579
+ "value": "nodejs20.x"
580
+ },
581
+ "cn-north-1": {
582
+ "value": "nodejs20.x"
583
+ },
584
+ "cn-northwest-1": {
585
+ "value": "nodejs20.x"
586
+ },
587
+ "eu-central-1": {
588
+ "value": "nodejs20.x"
589
+ },
590
+ "eu-central-2": {
591
+ "value": "nodejs20.x"
592
+ },
593
+ "eu-isoe-west-1": {
594
+ "value": "nodejs18.x"
595
+ },
596
+ "eu-north-1": {
597
+ "value": "nodejs20.x"
598
+ },
599
+ "eu-south-1": {
600
+ "value": "nodejs20.x"
601
+ },
602
+ "eu-south-2": {
603
+ "value": "nodejs20.x"
604
+ },
605
+ "eu-west-1": {
606
+ "value": "nodejs20.x"
607
+ },
608
+ "eu-west-2": {
609
+ "value": "nodejs20.x"
610
+ },
611
+ "eu-west-3": {
612
+ "value": "nodejs20.x"
613
+ },
614
+ "il-central-1": {
615
+ "value": "nodejs20.x"
616
+ },
617
+ "me-central-1": {
618
+ "value": "nodejs20.x"
619
+ },
620
+ "me-south-1": {
621
+ "value": "nodejs20.x"
622
+ },
623
+ "mx-central-1": {
624
+ "value": "nodejs20.x"
625
+ },
626
+ "sa-east-1": {
627
+ "value": "nodejs20.x"
628
+ },
629
+ "us-east-1": {
630
+ "value": "nodejs20.x"
631
+ },
632
+ "us-east-2": {
633
+ "value": "nodejs20.x"
634
+ },
635
+ "us-gov-east-1": {
636
+ "value": "nodejs20.x"
637
+ },
638
+ "us-gov-west-1": {
639
+ "value": "nodejs20.x"
640
+ },
641
+ "us-iso-east-1": {
642
+ "value": "nodejs18.x"
643
+ },
644
+ "us-iso-west-1": {
645
+ "value": "nodejs18.x"
646
+ },
647
+ "us-isob-east-1": {
648
+ "value": "nodejs18.x"
649
+ },
650
+ "us-west-1": {
651
+ "value": "nodejs20.x"
652
+ },
653
+ "us-west-2": {
654
+ "value": "nodejs20.x"
655
+ }
656
+ }
657
+ },
658
+ "Parameters": {
659
+ "BootstrapVersion": {
660
+ "Type": "AWS::SSM::Parameter::Value<String>",
661
+ "Default": "/cdk-bootstrap/hnb659fds/version",
662
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
663
+ }
664
+ },
665
+ "Rules": {
666
+ "CheckBootstrapVersion": {
667
+ "Assertions": [
668
+ {
669
+ "Assert": {
670
+ "Fn::Not": [
671
+ {
672
+ "Fn::Contains": [
673
+ [
674
+ "1",
675
+ "2",
676
+ "3",
677
+ "4",
678
+ "5"
679
+ ],
680
+ {
681
+ "Ref": "BootstrapVersion"
682
+ }
683
+ ]
684
+ }
685
+ ]
686
+ },
687
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
688
+ }
689
+ ]
690
+ }
691
+ }
692
+ }