@mavogel/cdk-vscode-server 0.1.1 → 0.1.2
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.
- package/.jsii +125 -51
- package/AGENTS.md +12 -0
- package/API.md +64 -0
- package/README.md +16 -0
- package/integ-tests/expire-assertion-logs.ts +26 -0
- package/integ-tests/integ.al2023.ts +11 -2
- package/integ-tests/integ.al2023.ts.snapshot/IntegSetupVSCodeOnAl2023DefaultTestDeployAssert74D8F645.assets.json +3 -3
- package/integ-tests/integ.al2023.ts.snapshot/IntegSetupVSCodeOnAl2023DefaultTestDeployAssert74D8F645.metadata.json +15 -0
- package/integ-tests/integ.al2023.ts.snapshot/IntegSetupVSCodeOnAl2023DefaultTestDeployAssert74D8F645.template.json +13 -2
- package/integ-tests/integ.al2023.ts.snapshot/IntegTestStackAl2023.assets.json +13 -13
- package/integ-tests/integ.al2023.ts.snapshot/IntegTestStackAl2023.metadata.json +260 -174
- package/integ-tests/integ.al2023.ts.snapshot/IntegTestStackAl2023.template.json +318 -189
- package/integ-tests/integ.al2023.ts.snapshot/integ.json +1 -1
- package/integ-tests/integ.al2023.ts.snapshot/manifest.json +2 -2
- package/integ-tests/integ.al2023.ts.snapshot/tree.json +1 -1
- package/integ-tests/integ.custom-domain.ts +10 -1
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegSetupVSCodeOnCustomDomainDefaultTestDeployAssert6982D514.assets.json +3 -3
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegSetupVSCodeOnCustomDomainDefaultTestDeployAssert6982D514.metadata.json +15 -0
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegSetupVSCodeOnCustomDomainDefaultTestDeployAssert6982D514.template.json +13 -2
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegTestStackCustomDomain.assets.json +13 -13
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegTestStackCustomDomain.metadata.json +281 -194
- package/integ-tests/integ.custom-domain.ts.snapshot/IntegTestStackCustomDomain.template.json +358 -221
- package/integ-tests/integ.custom-domain.ts.snapshot/integ.json +1 -1
- package/integ-tests/integ.custom-domain.ts.snapshot/manifest.json +2 -2
- package/integ-tests/integ.custom-domain.ts.snapshot/tree.json +1 -1
- package/integ-tests/integ.stop-on-idle.ts +14 -2
- package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegStopOnIdleFunctionalityDefaultTestDeployAssertEECF3FC0.assets.json +3 -3
- package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegStopOnIdleFunctionalityDefaultTestDeployAssertEECF3FC0.metadata.json +15 -0
- package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegStopOnIdleFunctionalityDefaultTestDeployAssertEECF3FC0.template.json +16 -5
- package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegTestStackStopOnIdle.assets.json +17 -17
- package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegTestStackStopOnIdle.metadata.json +310 -203
- package/integ-tests/integ.stop-on-idle.ts.snapshot/IntegTestStackStopOnIdle.template.json +386 -254
- package/integ-tests/integ.stop-on-idle.ts.snapshot/manifest.json +2 -2
- package/integ-tests/integ.stop-on-idle.ts.snapshot/tree.json +1 -1
- package/integ-tests/integ.ubuntu24.ts +11 -2
- package/integ-tests/integ.ubuntu24.ts.snapshot/IntegSetupVSCodeOnUbuntuDefaultTestDeployAssertFF8DF2C5.assets.json +3 -3
- package/integ-tests/integ.ubuntu24.ts.snapshot/IntegSetupVSCodeOnUbuntuDefaultTestDeployAssertFF8DF2C5.metadata.json +15 -0
- package/integ-tests/integ.ubuntu24.ts.snapshot/IntegSetupVSCodeOnUbuntuDefaultTestDeployAssertFF8DF2C5.template.json +13 -2
- package/integ-tests/integ.ubuntu24.ts.snapshot/IntegTestStackUbuntu24.assets.json +13 -13
- package/integ-tests/integ.ubuntu24.ts.snapshot/IntegTestStackUbuntu24.metadata.json +260 -174
- package/integ-tests/integ.ubuntu24.ts.snapshot/IntegTestStackUbuntu24.template.json +302 -173
- package/integ-tests/integ.ubuntu24.ts.snapshot/integ.json +1 -1
- package/integ-tests/integ.ubuntu24.ts.snapshot/manifest.json +2 -2
- package/integ-tests/integ.ubuntu24.ts.snapshot/tree.json +1 -1
- package/integ-tests/integ.ubuntu26.ts +11 -2
- package/integ-tests/integ.ubuntu26.ts.snapshot/IntegSetupVSCodeOnUbuntu26DefaultTestDeployAssertD888890F.assets.json +3 -3
- package/integ-tests/integ.ubuntu26.ts.snapshot/IntegSetupVSCodeOnUbuntu26DefaultTestDeployAssertD888890F.metadata.json +15 -0
- package/integ-tests/integ.ubuntu26.ts.snapshot/IntegSetupVSCodeOnUbuntu26DefaultTestDeployAssertD888890F.template.json +13 -2
- package/integ-tests/integ.ubuntu26.ts.snapshot/IntegTestStackUbuntu26.assets.json +13 -13
- package/integ-tests/integ.ubuntu26.ts.snapshot/IntegTestStackUbuntu26.metadata.json +260 -174
- package/integ-tests/integ.ubuntu26.ts.snapshot/IntegTestStackUbuntu26.template.json +302 -173
- package/integ-tests/integ.ubuntu26.ts.snapshot/integ.json +1 -1
- package/integ-tests/integ.ubuntu26.ts.snapshot/manifest.json +2 -2
- package/integ-tests/integ.ubuntu26.ts.snapshot/tree.json +1 -1
- package/lib/idle-monitor/idle-monitor.d.ts +14 -0
- package/lib/idle-monitor/idle-monitor.js +4 -2
- package/lib/idle-monitor-enabler/idle-monitor-enabler.d.ts +14 -0
- package/lib/idle-monitor-enabler/idle-monitor-enabler.js +6 -2
- package/lib/installer/installer.d.ts +15 -0
- package/lib/installer/installer.js +36 -2
- package/lib/log-groups.d.ts +38 -0
- package/lib/log-groups.js +85 -0
- package/lib/prefixlist-retriever/prefixlist-retriever.d.ts +15 -1
- package/lib/prefixlist-retriever/prefixlist-retriever.js +4 -7
- package/lib/secret-retriever/secret-retriever.d.ts +14 -0
- package/lib/secret-retriever/secret-retriever.js +8 -1
- package/lib/vscode-server.d.ts +22 -0
- package/lib/vscode-server.js +35 -3
- package/package.json +1 -1
package/integ-tests/integ.custom-domain.ts.snapshot/IntegTestStackCustomDomain.template.json
CHANGED
|
@@ -26,6 +26,31 @@
|
|
|
26
26
|
}
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
|
+
"DependsOn": [
|
|
30
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
31
|
+
],
|
|
32
|
+
"UpdateReplacePolicy": "Delete",
|
|
33
|
+
"DeletionPolicy": "Delete"
|
|
34
|
+
},
|
|
35
|
+
"IntegVSCodeServerSecretRetrieverOnEventLogGroup85022BA4": {
|
|
36
|
+
"Type": "AWS::Logs::LogGroup",
|
|
37
|
+
"Properties": {
|
|
38
|
+
"RetentionInDays": 5,
|
|
39
|
+
"Tags": [
|
|
40
|
+
{
|
|
41
|
+
"Key": "app",
|
|
42
|
+
"Value": "vscode-server"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"Key": "Environment",
|
|
46
|
+
"Value": "IntegTestCustomDomain"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"Key": "IntegTest",
|
|
50
|
+
"Value": "True"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
29
54
|
"UpdateReplacePolicy": "Delete",
|
|
30
55
|
"DeletionPolicy": "Delete"
|
|
31
56
|
},
|
|
@@ -58,7 +83,10 @@
|
|
|
58
83
|
]
|
|
59
84
|
}
|
|
60
85
|
]
|
|
61
|
-
}
|
|
86
|
+
},
|
|
87
|
+
"DependsOn": [
|
|
88
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
89
|
+
]
|
|
62
90
|
},
|
|
63
91
|
"IntegVSCodeServerSecretRetrieverOnEventHandlerServiceRoleDefaultPolicy2641E2C6": {
|
|
64
92
|
"Type": "AWS::IAM::Policy",
|
|
@@ -81,7 +109,10 @@
|
|
|
81
109
|
"Ref": "IntegVSCodeServerSecretRetrieverOnEventHandlerServiceRoleBEF8D4D2"
|
|
82
110
|
}
|
|
83
111
|
]
|
|
84
|
-
}
|
|
112
|
+
},
|
|
113
|
+
"DependsOn": [
|
|
114
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
115
|
+
]
|
|
85
116
|
},
|
|
86
117
|
"IntegVSCodeServerSecretRetrieverOnEventHandlerDD084AE3": {
|
|
87
118
|
"Type": "AWS::Lambda::Function",
|
|
@@ -94,6 +125,11 @@
|
|
|
94
125
|
},
|
|
95
126
|
"Description": "src/secret-retriever/secret-retriever.lambda.ts",
|
|
96
127
|
"Handler": "index.handler",
|
|
128
|
+
"LoggingConfig": {
|
|
129
|
+
"LogGroup": {
|
|
130
|
+
"Ref": "IntegVSCodeServerSecretRetrieverOnEventLogGroup85022BA4"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
97
133
|
"MemorySize": 128,
|
|
98
134
|
"Role": {
|
|
99
135
|
"Fn::GetAtt": [
|
|
@@ -105,25 +141,15 @@
|
|
|
105
141
|
"Timeout": 10
|
|
106
142
|
},
|
|
107
143
|
"DependsOn": [
|
|
144
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA",
|
|
108
145
|
"IntegVSCodeServerSecretRetrieverOnEventHandlerServiceRoleDefaultPolicy2641E2C6",
|
|
109
146
|
"IntegVSCodeServerSecretRetrieverOnEventHandlerServiceRoleBEF8D4D2"
|
|
110
147
|
]
|
|
111
148
|
},
|
|
112
|
-
"
|
|
149
|
+
"IntegVSCodeServerSecretRetrieveProviderLogGroupCA7357BF": {
|
|
113
150
|
"Type": "AWS::Logs::LogGroup",
|
|
114
151
|
"Properties": {
|
|
115
|
-
"
|
|
116
|
-
"Fn::Join": [
|
|
117
|
-
"",
|
|
118
|
-
[
|
|
119
|
-
"/aws/lambda/",
|
|
120
|
-
{
|
|
121
|
-
"Ref": "IntegVSCodeServerSecretRetrieverOnEventHandlerDD084AE3"
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
"RetentionInDays": 731,
|
|
152
|
+
"RetentionInDays": 5,
|
|
127
153
|
"Tags": [
|
|
128
154
|
{
|
|
129
155
|
"Key": "app",
|
|
@@ -139,8 +165,8 @@
|
|
|
139
165
|
}
|
|
140
166
|
]
|
|
141
167
|
},
|
|
142
|
-
"UpdateReplacePolicy": "
|
|
143
|
-
"DeletionPolicy": "
|
|
168
|
+
"UpdateReplacePolicy": "Delete",
|
|
169
|
+
"DeletionPolicy": "Delete"
|
|
144
170
|
},
|
|
145
171
|
"IntegVSCodeServerSecretRetrieveProviderframeworkonEventServiceRole0F156B64": {
|
|
146
172
|
"Type": "AWS::IAM::Role",
|
|
@@ -171,7 +197,10 @@
|
|
|
171
197
|
]
|
|
172
198
|
}
|
|
173
199
|
]
|
|
174
|
-
}
|
|
200
|
+
},
|
|
201
|
+
"DependsOn": [
|
|
202
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
203
|
+
]
|
|
175
204
|
},
|
|
176
205
|
"IntegVSCodeServerSecretRetrieveProviderframeworkonEventServiceRoleDefaultPolicyEC4DCEA0": {
|
|
177
206
|
"Type": "AWS::IAM::Policy",
|
|
@@ -223,7 +252,10 @@
|
|
|
223
252
|
"Ref": "IntegVSCodeServerSecretRetrieveProviderframeworkonEventServiceRole0F156B64"
|
|
224
253
|
}
|
|
225
254
|
]
|
|
226
|
-
}
|
|
255
|
+
},
|
|
256
|
+
"DependsOn": [
|
|
257
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
258
|
+
]
|
|
227
259
|
},
|
|
228
260
|
"IntegVSCodeServerSecretRetrieveProviderframeworkonEventCF035CA3": {
|
|
229
261
|
"Type": "AWS::Lambda::Function",
|
|
@@ -248,7 +280,10 @@
|
|
|
248
280
|
"Handler": "framework.onEvent",
|
|
249
281
|
"LoggingConfig": {
|
|
250
282
|
"ApplicationLogLevel": "FATAL",
|
|
251
|
-
"LogFormat": "JSON"
|
|
283
|
+
"LogFormat": "JSON",
|
|
284
|
+
"LogGroup": {
|
|
285
|
+
"Ref": "IntegVSCodeServerSecretRetrieveProviderLogGroupCA7357BF"
|
|
286
|
+
}
|
|
252
287
|
},
|
|
253
288
|
"Role": {
|
|
254
289
|
"Fn::GetAtt": [
|
|
@@ -260,43 +295,11 @@
|
|
|
260
295
|
"Timeout": 900
|
|
261
296
|
},
|
|
262
297
|
"DependsOn": [
|
|
298
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA",
|
|
263
299
|
"IntegVSCodeServerSecretRetrieveProviderframeworkonEventServiceRoleDefaultPolicyEC4DCEA0",
|
|
264
300
|
"IntegVSCodeServerSecretRetrieveProviderframeworkonEventServiceRole0F156B64"
|
|
265
301
|
]
|
|
266
302
|
},
|
|
267
|
-
"IntegVSCodeServerSecretRetrieveProviderframeworkonEventLogGroupBE7DEEA2": {
|
|
268
|
-
"Type": "AWS::Logs::LogGroup",
|
|
269
|
-
"Properties": {
|
|
270
|
-
"LogGroupName": {
|
|
271
|
-
"Fn::Join": [
|
|
272
|
-
"",
|
|
273
|
-
[
|
|
274
|
-
"/aws/lambda/",
|
|
275
|
-
{
|
|
276
|
-
"Ref": "IntegVSCodeServerSecretRetrieveProviderframeworkonEventCF035CA3"
|
|
277
|
-
}
|
|
278
|
-
]
|
|
279
|
-
]
|
|
280
|
-
},
|
|
281
|
-
"RetentionInDays": 731,
|
|
282
|
-
"Tags": [
|
|
283
|
-
{
|
|
284
|
-
"Key": "app",
|
|
285
|
-
"Value": "vscode-server"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"Key": "Environment",
|
|
289
|
-
"Value": "IntegTestCustomDomain"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"Key": "IntegTest",
|
|
293
|
-
"Value": "True"
|
|
294
|
-
}
|
|
295
|
-
]
|
|
296
|
-
},
|
|
297
|
-
"UpdateReplacePolicy": "Retain",
|
|
298
|
-
"DeletionPolicy": "Retain"
|
|
299
|
-
},
|
|
300
303
|
"IntegVSCodeServerSecretRetrieverCustomResource2F3DB8BD": {
|
|
301
304
|
"Type": "AWS::CloudFormation::CustomResource",
|
|
302
305
|
"Properties": {
|
|
@@ -311,6 +314,9 @@
|
|
|
311
314
|
"Ref": "IntegVSCodeServerpasswordsecret202A5DB3"
|
|
312
315
|
}
|
|
313
316
|
},
|
|
317
|
+
"DependsOn": [
|
|
318
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
319
|
+
],
|
|
314
320
|
"UpdateReplacePolicy": "Delete",
|
|
315
321
|
"DeletionPolicy": "Delete"
|
|
316
322
|
},
|
|
@@ -364,7 +370,10 @@
|
|
|
364
370
|
"PolicyName": "CertificateValidationPolicy"
|
|
365
371
|
}
|
|
366
372
|
]
|
|
367
|
-
}
|
|
373
|
+
},
|
|
374
|
+
"DependsOn": [
|
|
375
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
376
|
+
]
|
|
368
377
|
},
|
|
369
378
|
"IntegVSCodeServercertificatevalidationroleDefaultPolicy7ED8ABBB": {
|
|
370
379
|
"Type": "AWS::IAM::Policy",
|
|
@@ -422,7 +431,10 @@
|
|
|
422
431
|
"Ref": "IntegVSCodeServercertificatevalidationroleBD33BDA4"
|
|
423
432
|
}
|
|
424
433
|
]
|
|
425
|
-
}
|
|
434
|
+
},
|
|
435
|
+
"DependsOn": [
|
|
436
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
437
|
+
]
|
|
426
438
|
},
|
|
427
439
|
"IntegVSCodeServercertificateCertificateRequestorFunction6491288C": {
|
|
428
440
|
"Type": "AWS::Lambda::Function",
|
|
@@ -434,6 +446,11 @@
|
|
|
434
446
|
"S3Key": "ffb21b7e396cc684c46812aea1d2ff7ea22401e05038c047ae9f071082c68586.zip"
|
|
435
447
|
},
|
|
436
448
|
"Handler": "index.certificateRequestHandler",
|
|
449
|
+
"LoggingConfig": {
|
|
450
|
+
"LogGroup": {
|
|
451
|
+
"Ref": "IntegVSCodeServerCertificateRequestorLogGroup89612E66"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
437
454
|
"Role": {
|
|
438
455
|
"Fn::GetAtt": [
|
|
439
456
|
"IntegVSCodeServercertificatevalidationroleBD33BDA4",
|
|
@@ -445,24 +462,33 @@
|
|
|
445
462
|
},
|
|
446
463
|
"DependsOn": [
|
|
447
464
|
"IntegVSCodeServercertificatevalidationroleDefaultPolicy7ED8ABBB",
|
|
448
|
-
"IntegVSCodeServercertificatevalidationroleBD33BDA4"
|
|
465
|
+
"IntegVSCodeServercertificatevalidationroleBD33BDA4",
|
|
466
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
449
467
|
]
|
|
450
468
|
},
|
|
451
|
-
"
|
|
452
|
-
"Type": "AWS::
|
|
469
|
+
"IntegVSCodeServercertificateCertificateRequestorResourceFDC04752": {
|
|
470
|
+
"Type": "AWS::CloudFormation::CustomResource",
|
|
453
471
|
"Properties": {
|
|
454
|
-
"
|
|
455
|
-
"Fn::
|
|
456
|
-
"",
|
|
457
|
-
|
|
458
|
-
"/aws/lambda/",
|
|
459
|
-
{
|
|
460
|
-
"Ref": "IntegVSCodeServercertificateCertificateRequestorFunction6491288C"
|
|
461
|
-
}
|
|
462
|
-
]
|
|
472
|
+
"ServiceToken": {
|
|
473
|
+
"Fn::GetAtt": [
|
|
474
|
+
"IntegVSCodeServercertificateCertificateRequestorFunction6491288C",
|
|
475
|
+
"Arn"
|
|
463
476
|
]
|
|
464
477
|
},
|
|
465
|
-
"
|
|
478
|
+
"DomainName": "vscode-server-test.mavogel.xyz",
|
|
479
|
+
"HostedZoneId": "Z0626245RL83TSNC64CW",
|
|
480
|
+
"Region": "us-east-1"
|
|
481
|
+
},
|
|
482
|
+
"DependsOn": [
|
|
483
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
484
|
+
],
|
|
485
|
+
"UpdateReplacePolicy": "Delete",
|
|
486
|
+
"DeletionPolicy": "Delete"
|
|
487
|
+
},
|
|
488
|
+
"IntegVSCodeServerCertificateRequestorLogGroup89612E66": {
|
|
489
|
+
"Type": "AWS::Logs::LogGroup",
|
|
490
|
+
"Properties": {
|
|
491
|
+
"RetentionInDays": 5,
|
|
466
492
|
"Tags": [
|
|
467
493
|
{
|
|
468
494
|
"Key": "app",
|
|
@@ -478,22 +504,6 @@
|
|
|
478
504
|
}
|
|
479
505
|
]
|
|
480
506
|
},
|
|
481
|
-
"UpdateReplacePolicy": "Retain",
|
|
482
|
-
"DeletionPolicy": "Retain"
|
|
483
|
-
},
|
|
484
|
-
"IntegVSCodeServercertificateCertificateRequestorResourceFDC04752": {
|
|
485
|
-
"Type": "AWS::CloudFormation::CustomResource",
|
|
486
|
-
"Properties": {
|
|
487
|
-
"ServiceToken": {
|
|
488
|
-
"Fn::GetAtt": [
|
|
489
|
-
"IntegVSCodeServercertificateCertificateRequestorFunction6491288C",
|
|
490
|
-
"Arn"
|
|
491
|
-
]
|
|
492
|
-
},
|
|
493
|
-
"DomainName": "vscode-server-test.mavogel.xyz",
|
|
494
|
-
"HostedZoneId": "Z0626245RL83TSNC64CW",
|
|
495
|
-
"Region": "us-east-1"
|
|
496
|
-
},
|
|
497
507
|
"UpdateReplacePolicy": "Delete",
|
|
498
508
|
"DeletionPolicy": "Delete"
|
|
499
509
|
},
|
|
@@ -522,7 +532,10 @@
|
|
|
522
532
|
"Value": "IntegTestStackCustomDomain/IntegVSCodeServer/vpc"
|
|
523
533
|
}
|
|
524
534
|
]
|
|
525
|
-
}
|
|
535
|
+
},
|
|
536
|
+
"DependsOn": [
|
|
537
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
538
|
+
]
|
|
526
539
|
},
|
|
527
540
|
"IntegVSCodeServervpcpublicSubnet1Subnet928029A1": {
|
|
528
541
|
"Type": "AWS::EC2::Subnet",
|
|
@@ -566,7 +579,10 @@
|
|
|
566
579
|
"VpcId": {
|
|
567
580
|
"Ref": "IntegVSCodeServervpc93DDE887"
|
|
568
581
|
}
|
|
569
|
-
}
|
|
582
|
+
},
|
|
583
|
+
"DependsOn": [
|
|
584
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
585
|
+
]
|
|
570
586
|
},
|
|
571
587
|
"IntegVSCodeServervpcpublicSubnet1RouteTableFD418D0B": {
|
|
572
588
|
"Type": "AWS::EC2::RouteTable",
|
|
@@ -592,7 +608,10 @@
|
|
|
592
608
|
"VpcId": {
|
|
593
609
|
"Ref": "IntegVSCodeServervpc93DDE887"
|
|
594
610
|
}
|
|
595
|
-
}
|
|
611
|
+
},
|
|
612
|
+
"DependsOn": [
|
|
613
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
614
|
+
]
|
|
596
615
|
},
|
|
597
616
|
"IntegVSCodeServervpcpublicSubnet1RouteTableAssociation599AB80D": {
|
|
598
617
|
"Type": "AWS::EC2::SubnetRouteTableAssociation",
|
|
@@ -603,7 +622,10 @@
|
|
|
603
622
|
"SubnetId": {
|
|
604
623
|
"Ref": "IntegVSCodeServervpcpublicSubnet1Subnet928029A1"
|
|
605
624
|
}
|
|
606
|
-
}
|
|
625
|
+
},
|
|
626
|
+
"DependsOn": [
|
|
627
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
628
|
+
]
|
|
607
629
|
},
|
|
608
630
|
"IntegVSCodeServervpcpublicSubnet1DefaultRoute36845B30": {
|
|
609
631
|
"Type": "AWS::EC2::Route",
|
|
@@ -617,6 +639,7 @@
|
|
|
617
639
|
}
|
|
618
640
|
},
|
|
619
641
|
"DependsOn": [
|
|
642
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA",
|
|
620
643
|
"IntegVSCodeServervpcVPCGWA7CDED90"
|
|
621
644
|
]
|
|
622
645
|
},
|
|
@@ -662,7 +685,10 @@
|
|
|
662
685
|
"VpcId": {
|
|
663
686
|
"Ref": "IntegVSCodeServervpc93DDE887"
|
|
664
687
|
}
|
|
665
|
-
}
|
|
688
|
+
},
|
|
689
|
+
"DependsOn": [
|
|
690
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
691
|
+
]
|
|
666
692
|
},
|
|
667
693
|
"IntegVSCodeServervpcpublicSubnet2RouteTableC264EFB4": {
|
|
668
694
|
"Type": "AWS::EC2::RouteTable",
|
|
@@ -688,7 +714,10 @@
|
|
|
688
714
|
"VpcId": {
|
|
689
715
|
"Ref": "IntegVSCodeServervpc93DDE887"
|
|
690
716
|
}
|
|
691
|
-
}
|
|
717
|
+
},
|
|
718
|
+
"DependsOn": [
|
|
719
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
720
|
+
]
|
|
692
721
|
},
|
|
693
722
|
"IntegVSCodeServervpcpublicSubnet2RouteTableAssociationC62A1999": {
|
|
694
723
|
"Type": "AWS::EC2::SubnetRouteTableAssociation",
|
|
@@ -699,7 +728,10 @@
|
|
|
699
728
|
"SubnetId": {
|
|
700
729
|
"Ref": "IntegVSCodeServervpcpublicSubnet2SubnetE381654D"
|
|
701
730
|
}
|
|
702
|
-
}
|
|
731
|
+
},
|
|
732
|
+
"DependsOn": [
|
|
733
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
734
|
+
]
|
|
703
735
|
},
|
|
704
736
|
"IntegVSCodeServervpcpublicSubnet2DefaultRouteEAD8BC23": {
|
|
705
737
|
"Type": "AWS::EC2::Route",
|
|
@@ -713,6 +745,7 @@
|
|
|
713
745
|
}
|
|
714
746
|
},
|
|
715
747
|
"DependsOn": [
|
|
748
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA",
|
|
716
749
|
"IntegVSCodeServervpcVPCGWA7CDED90"
|
|
717
750
|
]
|
|
718
751
|
},
|
|
@@ -737,7 +770,10 @@
|
|
|
737
770
|
"Value": "IntegTestStackCustomDomain/IntegVSCodeServer/vpc"
|
|
738
771
|
}
|
|
739
772
|
]
|
|
740
|
-
}
|
|
773
|
+
},
|
|
774
|
+
"DependsOn": [
|
|
775
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
776
|
+
]
|
|
741
777
|
},
|
|
742
778
|
"IntegVSCodeServervpcVPCGWA7CDED90": {
|
|
743
779
|
"Type": "AWS::EC2::VPCGatewayAttachment",
|
|
@@ -748,7 +784,10 @@
|
|
|
748
784
|
"VpcId": {
|
|
749
785
|
"Ref": "IntegVSCodeServervpc93DDE887"
|
|
750
786
|
}
|
|
751
|
-
}
|
|
787
|
+
},
|
|
788
|
+
"DependsOn": [
|
|
789
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
790
|
+
]
|
|
752
791
|
},
|
|
753
792
|
"IntegVSCodeServervpcRestrictDefaultSecurityGroupCustomResourceF6EA8ED1": {
|
|
754
793
|
"Type": "Custom::VpcRestrictDefaultSG",
|
|
@@ -769,6 +808,9 @@
|
|
|
769
808
|
"Ref": "AWS::AccountId"
|
|
770
809
|
}
|
|
771
810
|
},
|
|
811
|
+
"DependsOn": [
|
|
812
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
813
|
+
],
|
|
772
814
|
"UpdateReplacePolicy": "Delete",
|
|
773
815
|
"DeletionPolicy": "Delete"
|
|
774
816
|
},
|
|
@@ -801,7 +843,10 @@
|
|
|
801
843
|
"VpcId": {
|
|
802
844
|
"Ref": "IntegVSCodeServervpc93DDE887"
|
|
803
845
|
}
|
|
804
|
-
}
|
|
846
|
+
},
|
|
847
|
+
"DependsOn": [
|
|
848
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
849
|
+
]
|
|
805
850
|
},
|
|
806
851
|
"IntegVSCodeServercftoserversgfromIndirectPeer80C4F51713": {
|
|
807
852
|
"Type": "AWS::EC2::SecurityGroupIngress",
|
|
@@ -822,12 +867,15 @@
|
|
|
822
867
|
]
|
|
823
868
|
},
|
|
824
869
|
"ToPort": 80
|
|
825
|
-
}
|
|
870
|
+
},
|
|
871
|
+
"DependsOn": [
|
|
872
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
873
|
+
]
|
|
826
874
|
},
|
|
827
875
|
"IntegVSCodeServercfprefixlistIdGetPrefixListIdLogGroup171C2803": {
|
|
828
876
|
"Type": "AWS::Logs::LogGroup",
|
|
829
877
|
"Properties": {
|
|
830
|
-
"RetentionInDays":
|
|
878
|
+
"RetentionInDays": 5,
|
|
831
879
|
"Tags": [
|
|
832
880
|
{
|
|
833
881
|
"Key": "app",
|
|
@@ -861,7 +909,10 @@
|
|
|
861
909
|
],
|
|
862
910
|
"Version": "2012-10-17"
|
|
863
911
|
}
|
|
864
|
-
}
|
|
912
|
+
},
|
|
913
|
+
"DependsOn": [
|
|
914
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
915
|
+
]
|
|
865
916
|
},
|
|
866
917
|
"IntegVSCodeServercfprefixlistIdGetPrefixListIdF0821FFC": {
|
|
867
918
|
"Type": "Custom::AWS",
|
|
@@ -877,7 +928,8 @@
|
|
|
877
928
|
"InstallLatestAwsSdk": false
|
|
878
929
|
},
|
|
879
930
|
"DependsOn": [
|
|
880
|
-
"IntegVSCodeServercfprefixlistIdGetPrefixListIdCustomResourcePolicyAB3F4958"
|
|
931
|
+
"IntegVSCodeServercfprefixlistIdGetPrefixListIdCustomResourcePolicyAB3F4958",
|
|
932
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
881
933
|
],
|
|
882
934
|
"UpdateReplacePolicy": "Delete",
|
|
883
935
|
"DeletionPolicy": "Delete"
|
|
@@ -901,7 +953,10 @@
|
|
|
901
953
|
"Ref": "IntegVSCodeServercfprefixlistIdGetPrefixListIdRole1302B3E1"
|
|
902
954
|
}
|
|
903
955
|
]
|
|
904
|
-
}
|
|
956
|
+
},
|
|
957
|
+
"DependsOn": [
|
|
958
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
959
|
+
]
|
|
905
960
|
},
|
|
906
961
|
"IntegVSCodeServerserverinstancerole7745B5BB": {
|
|
907
962
|
"Type": "AWS::IAM::Role",
|
|
@@ -1163,7 +1218,10 @@
|
|
|
1163
1218
|
"PolicyName": "VSCodeInstanceInlinePolicy"
|
|
1164
1219
|
}
|
|
1165
1220
|
]
|
|
1166
|
-
}
|
|
1221
|
+
},
|
|
1222
|
+
"DependsOn": [
|
|
1223
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1224
|
+
]
|
|
1167
1225
|
},
|
|
1168
1226
|
"IntegVSCodeServerserverinstanceInstanceProfile6130979E": {
|
|
1169
1227
|
"Type": "AWS::IAM::InstanceProfile",
|
|
@@ -1173,7 +1231,10 @@
|
|
|
1173
1231
|
"Ref": "IntegVSCodeServerserverinstancerole7745B5BB"
|
|
1174
1232
|
}
|
|
1175
1233
|
]
|
|
1176
|
-
}
|
|
1234
|
+
},
|
|
1235
|
+
"DependsOn": [
|
|
1236
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1237
|
+
]
|
|
1177
1238
|
},
|
|
1178
1239
|
"IntegVSCodeServerserverinstance0A3D62D7": {
|
|
1179
1240
|
"Type": "AWS::EC2::Instance",
|
|
@@ -1254,6 +1315,7 @@
|
|
|
1254
1315
|
}
|
|
1255
1316
|
},
|
|
1256
1317
|
"DependsOn": [
|
|
1318
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA",
|
|
1257
1319
|
"IntegVSCodeServerserverinstancerole7745B5BB",
|
|
1258
1320
|
"IntegVSCodeServervpcpublicSubnet1DefaultRoute36845B30",
|
|
1259
1321
|
"IntegVSCodeServervpcpublicSubnet1RouteTableAssociation599AB80D",
|
|
@@ -1270,7 +1332,10 @@
|
|
|
1270
1332
|
}
|
|
1271
1333
|
},
|
|
1272
1334
|
"LaunchTemplateName": "IntegTestStackCustomDomainIntegVSCodeServerserverinstanceLaunchTemplate2E30ED0B"
|
|
1273
|
-
}
|
|
1335
|
+
},
|
|
1336
|
+
"DependsOn": [
|
|
1337
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1338
|
+
]
|
|
1274
1339
|
},
|
|
1275
1340
|
"IntegVSCodeServercfcachepolicy8F5F1F69": {
|
|
1276
1341
|
"Type": "AWS::CloudFront::CachePolicy",
|
|
@@ -1306,7 +1371,10 @@
|
|
|
1306
1371
|
}
|
|
1307
1372
|
}
|
|
1308
1373
|
}
|
|
1309
|
-
}
|
|
1374
|
+
},
|
|
1375
|
+
"DependsOn": [
|
|
1376
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1377
|
+
]
|
|
1310
1378
|
},
|
|
1311
1379
|
"IntegVSCodeServercfdistributionFDBE873F": {
|
|
1312
1380
|
"Type": "AWS::CloudFront::Distribution",
|
|
@@ -1399,7 +1467,10 @@
|
|
|
1399
1467
|
"Value": "True"
|
|
1400
1468
|
}
|
|
1401
1469
|
]
|
|
1402
|
-
}
|
|
1470
|
+
},
|
|
1471
|
+
"DependsOn": [
|
|
1472
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1473
|
+
]
|
|
1403
1474
|
},
|
|
1404
1475
|
"IntegVSCodeServerdomainrecord67FD9400": {
|
|
1405
1476
|
"Type": "AWS::Route53::RecordSet",
|
|
@@ -1424,7 +1495,10 @@
|
|
|
1424
1495
|
"HostedZoneId": "Z0626245RL83TSNC64CW",
|
|
1425
1496
|
"Name": "vscode-server-test.mavogel.xyz.",
|
|
1426
1497
|
"Type": "A"
|
|
1427
|
-
}
|
|
1498
|
+
},
|
|
1499
|
+
"DependsOn": [
|
|
1500
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1501
|
+
]
|
|
1428
1502
|
},
|
|
1429
1503
|
"IntegVSCodeServerssmdocumentubuntuED32BACB": {
|
|
1430
1504
|
"Type": "AWS::SSM::Document",
|
|
@@ -1849,7 +1923,32 @@
|
|
|
1849
1923
|
"Value": "True"
|
|
1850
1924
|
}
|
|
1851
1925
|
]
|
|
1852
|
-
}
|
|
1926
|
+
},
|
|
1927
|
+
"DependsOn": [
|
|
1928
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1929
|
+
]
|
|
1930
|
+
},
|
|
1931
|
+
"IntegVSCodeServerInstallerOnEventLogGroup320D03D7": {
|
|
1932
|
+
"Type": "AWS::Logs::LogGroup",
|
|
1933
|
+
"Properties": {
|
|
1934
|
+
"RetentionInDays": 5,
|
|
1935
|
+
"Tags": [
|
|
1936
|
+
{
|
|
1937
|
+
"Key": "app",
|
|
1938
|
+
"Value": "vscode-server"
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"Key": "Environment",
|
|
1942
|
+
"Value": "IntegTestCustomDomain"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"Key": "IntegTest",
|
|
1946
|
+
"Value": "True"
|
|
1947
|
+
}
|
|
1948
|
+
]
|
|
1949
|
+
},
|
|
1950
|
+
"UpdateReplacePolicy": "Delete",
|
|
1951
|
+
"DeletionPolicy": "Delete"
|
|
1853
1952
|
},
|
|
1854
1953
|
"IntegVSCodeServerInstallerOnEventHandlerServiceRole59651FEF": {
|
|
1855
1954
|
"Type": "AWS::IAM::Role",
|
|
@@ -1880,7 +1979,10 @@
|
|
|
1880
1979
|
]
|
|
1881
1980
|
}
|
|
1882
1981
|
]
|
|
1883
|
-
}
|
|
1982
|
+
},
|
|
1983
|
+
"DependsOn": [
|
|
1984
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
1985
|
+
]
|
|
1884
1986
|
},
|
|
1885
1987
|
"IntegVSCodeServerInstallerOnEventHandlerServiceRoleDefaultPolicy1CAD86C2": {
|
|
1886
1988
|
"Type": "AWS::IAM::Policy",
|
|
@@ -1973,7 +2075,10 @@
|
|
|
1973
2075
|
"Ref": "IntegVSCodeServerInstallerOnEventHandlerServiceRole59651FEF"
|
|
1974
2076
|
}
|
|
1975
2077
|
]
|
|
1976
|
-
}
|
|
2078
|
+
},
|
|
2079
|
+
"DependsOn": [
|
|
2080
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
2081
|
+
]
|
|
1977
2082
|
},
|
|
1978
2083
|
"IntegVSCodeServerInstallerOnEventHandler6FF91542": {
|
|
1979
2084
|
"Type": "AWS::Lambda::Function",
|
|
@@ -1986,6 +2091,11 @@
|
|
|
1986
2091
|
},
|
|
1987
2092
|
"Description": "src/installer/installer.lambda.ts",
|
|
1988
2093
|
"Handler": "index.handler",
|
|
2094
|
+
"LoggingConfig": {
|
|
2095
|
+
"LogGroup": {
|
|
2096
|
+
"Ref": "IntegVSCodeServerInstallerOnEventLogGroup320D03D7"
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
1989
2099
|
"MemorySize": 512,
|
|
1990
2100
|
"Role": {
|
|
1991
2101
|
"Fn::GetAtt": [
|
|
@@ -1998,24 +2108,14 @@
|
|
|
1998
2108
|
},
|
|
1999
2109
|
"DependsOn": [
|
|
2000
2110
|
"IntegVSCodeServerInstallerOnEventHandlerServiceRoleDefaultPolicy1CAD86C2",
|
|
2001
|
-
"IntegVSCodeServerInstallerOnEventHandlerServiceRole59651FEF"
|
|
2111
|
+
"IntegVSCodeServerInstallerOnEventHandlerServiceRole59651FEF",
|
|
2112
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
2002
2113
|
]
|
|
2003
2114
|
},
|
|
2004
|
-
"
|
|
2115
|
+
"IntegVSCodeServerInstallerProviderLogGroupC44B027B": {
|
|
2005
2116
|
"Type": "AWS::Logs::LogGroup",
|
|
2006
2117
|
"Properties": {
|
|
2007
|
-
"
|
|
2008
|
-
"Fn::Join": [
|
|
2009
|
-
"",
|
|
2010
|
-
[
|
|
2011
|
-
"/aws/lambda/",
|
|
2012
|
-
{
|
|
2013
|
-
"Ref": "IntegVSCodeServerInstallerOnEventHandler6FF91542"
|
|
2014
|
-
}
|
|
2015
|
-
]
|
|
2016
|
-
]
|
|
2017
|
-
},
|
|
2018
|
-
"RetentionInDays": 731,
|
|
2118
|
+
"RetentionInDays": 5,
|
|
2019
2119
|
"Tags": [
|
|
2020
2120
|
{
|
|
2021
2121
|
"Key": "app",
|
|
@@ -2031,8 +2131,8 @@
|
|
|
2031
2131
|
}
|
|
2032
2132
|
]
|
|
2033
2133
|
},
|
|
2034
|
-
"UpdateReplacePolicy": "
|
|
2035
|
-
"DeletionPolicy": "
|
|
2134
|
+
"UpdateReplacePolicy": "Delete",
|
|
2135
|
+
"DeletionPolicy": "Delete"
|
|
2036
2136
|
},
|
|
2037
2137
|
"IntegVSCodeServerInstallerProviderframeworkonEventServiceRoleA509851F": {
|
|
2038
2138
|
"Type": "AWS::IAM::Role",
|
|
@@ -2063,7 +2163,10 @@
|
|
|
2063
2163
|
]
|
|
2064
2164
|
}
|
|
2065
2165
|
]
|
|
2066
|
-
}
|
|
2166
|
+
},
|
|
2167
|
+
"DependsOn": [
|
|
2168
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
2169
|
+
]
|
|
2067
2170
|
},
|
|
2068
2171
|
"IntegVSCodeServerInstallerProviderframeworkonEventServiceRoleDefaultPolicy3E54FC3A": {
|
|
2069
2172
|
"Type": "AWS::IAM::Policy",
|
|
@@ -2115,7 +2218,10 @@
|
|
|
2115
2218
|
"Ref": "IntegVSCodeServerInstallerProviderframeworkonEventServiceRoleA509851F"
|
|
2116
2219
|
}
|
|
2117
2220
|
]
|
|
2118
|
-
}
|
|
2221
|
+
},
|
|
2222
|
+
"DependsOn": [
|
|
2223
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
2224
|
+
]
|
|
2119
2225
|
},
|
|
2120
2226
|
"IntegVSCodeServerInstallerProviderframeworkonEvent7B6C1190": {
|
|
2121
2227
|
"Type": "AWS::Lambda::Function",
|
|
@@ -2140,7 +2246,10 @@
|
|
|
2140
2246
|
"Handler": "framework.onEvent",
|
|
2141
2247
|
"LoggingConfig": {
|
|
2142
2248
|
"ApplicationLogLevel": "FATAL",
|
|
2143
|
-
"LogFormat": "JSON"
|
|
2249
|
+
"LogFormat": "JSON",
|
|
2250
|
+
"LogGroup": {
|
|
2251
|
+
"Ref": "IntegVSCodeServerInstallerProviderLogGroupC44B027B"
|
|
2252
|
+
}
|
|
2144
2253
|
},
|
|
2145
2254
|
"Role": {
|
|
2146
2255
|
"Fn::GetAtt": [
|
|
@@ -2153,41 +2262,26 @@
|
|
|
2153
2262
|
},
|
|
2154
2263
|
"DependsOn": [
|
|
2155
2264
|
"IntegVSCodeServerInstallerProviderframeworkonEventServiceRoleDefaultPolicy3E54FC3A",
|
|
2156
|
-
"IntegVSCodeServerInstallerProviderframeworkonEventServiceRoleA509851F"
|
|
2265
|
+
"IntegVSCodeServerInstallerProviderframeworkonEventServiceRoleA509851F",
|
|
2266
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
2157
2267
|
]
|
|
2158
2268
|
},
|
|
2159
|
-
"
|
|
2160
|
-
"Type": "
|
|
2269
|
+
"IntegVSCodeServerInstallLogRetentionF3D42FD5": {
|
|
2270
|
+
"Type": "Custom::LogRetention",
|
|
2161
2271
|
"Properties": {
|
|
2162
|
-
"
|
|
2163
|
-
"Fn::
|
|
2164
|
-
"",
|
|
2165
|
-
|
|
2166
|
-
"/aws/lambda/",
|
|
2167
|
-
{
|
|
2168
|
-
"Ref": "IntegVSCodeServerInstallerProviderframeworkonEvent7B6C1190"
|
|
2169
|
-
}
|
|
2170
|
-
]
|
|
2272
|
+
"ServiceToken": {
|
|
2273
|
+
"Fn::GetAtt": [
|
|
2274
|
+
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
|
|
2275
|
+
"Arn"
|
|
2171
2276
|
]
|
|
2172
2277
|
},
|
|
2173
|
-
"
|
|
2174
|
-
"
|
|
2175
|
-
|
|
2176
|
-
"Key": "app",
|
|
2177
|
-
"Value": "vscode-server"
|
|
2178
|
-
},
|
|
2179
|
-
{
|
|
2180
|
-
"Key": "Environment",
|
|
2181
|
-
"Value": "IntegTestCustomDomain"
|
|
2182
|
-
},
|
|
2183
|
-
{
|
|
2184
|
-
"Key": "IntegTest",
|
|
2185
|
-
"Value": "True"
|
|
2186
|
-
}
|
|
2187
|
-
]
|
|
2278
|
+
"LogGroupName": "/aws/ssm/vscode-server-ubuntu-IntegTestStackCustomDomain",
|
|
2279
|
+
"RetentionInDays": 5,
|
|
2280
|
+
"RemovalPolicy": "destroy"
|
|
2188
2281
|
},
|
|
2189
|
-
"
|
|
2190
|
-
|
|
2282
|
+
"DependsOn": [
|
|
2283
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
2284
|
+
]
|
|
2191
2285
|
},
|
|
2192
2286
|
"IntegVSCodeServerSSMInstallerCustomResource9F9AFE68": {
|
|
2193
2287
|
"Type": "AWS::CloudFormation::CustomResource",
|
|
@@ -2211,9 +2305,25 @@
|
|
|
2211
2305
|
]
|
|
2212
2306
|
}
|
|
2213
2307
|
},
|
|
2308
|
+
"DependsOn": [
|
|
2309
|
+
"IntegVSCodeServerInstallLogRetentionF3D42FD5",
|
|
2310
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA"
|
|
2311
|
+
],
|
|
2214
2312
|
"UpdateReplacePolicy": "Delete",
|
|
2215
2313
|
"DeletionPolicy": "Delete"
|
|
2216
2314
|
},
|
|
2315
|
+
"IntegVSCodeServerLogGroupsDeletedLast4BADFCCA": {
|
|
2316
|
+
"Type": "AWS::CloudFormation::WaitConditionHandle",
|
|
2317
|
+
"DependsOn": [
|
|
2318
|
+
"IntegVSCodeServerCertificateRequestorLogGroup89612E66",
|
|
2319
|
+
"IntegVSCodeServercfprefixlistIdGetPrefixListIdLogGroup171C2803",
|
|
2320
|
+
"IntegVSCodeServerInstallerOnEventLogGroup320D03D7",
|
|
2321
|
+
"IntegVSCodeServerInstallerProviderLogGroupC44B027B",
|
|
2322
|
+
"IntegVSCodeServerSecretRetrieveProviderLogGroupCA7357BF",
|
|
2323
|
+
"IntegVSCodeServerSecretRetrieverOnEventLogGroup85022BA4",
|
|
2324
|
+
"VpcRestrictDefaultSgLogGroup736DE614"
|
|
2325
|
+
]
|
|
2326
|
+
},
|
|
2217
2327
|
"CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0": {
|
|
2218
2328
|
"Type": "AWS::IAM::Role",
|
|
2219
2329
|
"Properties": {
|
|
@@ -2302,12 +2412,25 @@
|
|
|
2302
2412
|
]
|
|
2303
2413
|
},
|
|
2304
2414
|
"Runtime": "nodejs24.x",
|
|
2305
|
-
"Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group"
|
|
2415
|
+
"Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group",
|
|
2416
|
+
"LoggingConfig": {
|
|
2417
|
+
"LogGroup": {
|
|
2418
|
+
"Ref": "VpcRestrictDefaultSgLogGroup736DE614"
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2306
2421
|
},
|
|
2307
2422
|
"DependsOn": [
|
|
2308
2423
|
"CustomVpcRestrictDefaultSGCustomResourceProviderRole26592FE0"
|
|
2309
2424
|
]
|
|
2310
2425
|
},
|
|
2426
|
+
"VpcRestrictDefaultSgLogGroup736DE614": {
|
|
2427
|
+
"Type": "AWS::Logs::LogGroup",
|
|
2428
|
+
"Properties": {
|
|
2429
|
+
"RetentionInDays": 5
|
|
2430
|
+
},
|
|
2431
|
+
"UpdateReplacePolicy": "Delete",
|
|
2432
|
+
"DeletionPolicy": "Delete"
|
|
2433
|
+
},
|
|
2311
2434
|
"AWS679f53fac002430cb0da5b7982bd22872D164C4C": {
|
|
2312
2435
|
"Type": "AWS::Lambda::Function",
|
|
2313
2436
|
"Properties": {
|
|
@@ -2336,7 +2459,7 @@
|
|
|
2336
2459
|
"IntegVSCodeServercfprefixlistIdGetPrefixListIdRole1302B3E1"
|
|
2337
2460
|
]
|
|
2338
2461
|
},
|
|
2339
|
-
"
|
|
2462
|
+
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB": {
|
|
2340
2463
|
"Type": "AWS::IAM::Role",
|
|
2341
2464
|
"Properties": {
|
|
2342
2465
|
"AssumeRolePolicyDocument": {
|
|
@@ -2367,53 +2490,87 @@
|
|
|
2367
2490
|
]
|
|
2368
2491
|
}
|
|
2369
2492
|
},
|
|
2370
|
-
"
|
|
2493
|
+
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB": {
|
|
2494
|
+
"Type": "AWS::IAM::Policy",
|
|
2495
|
+
"Properties": {
|
|
2496
|
+
"PolicyDocument": {
|
|
2497
|
+
"Statement": [
|
|
2498
|
+
{
|
|
2499
|
+
"Action": [
|
|
2500
|
+
"logs:DeleteRetentionPolicy",
|
|
2501
|
+
"logs:PutRetentionPolicy"
|
|
2502
|
+
],
|
|
2503
|
+
"Effect": "Allow",
|
|
2504
|
+
"Resource": "*"
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"Action": "logs:DeleteLogGroup",
|
|
2508
|
+
"Effect": "Allow",
|
|
2509
|
+
"Resource": {
|
|
2510
|
+
"Fn::Join": [
|
|
2511
|
+
"",
|
|
2512
|
+
[
|
|
2513
|
+
"arn:",
|
|
2514
|
+
{
|
|
2515
|
+
"Ref": "AWS::Partition"
|
|
2516
|
+
},
|
|
2517
|
+
":logs:",
|
|
2518
|
+
{
|
|
2519
|
+
"Ref": "AWS::Region"
|
|
2520
|
+
},
|
|
2521
|
+
":",
|
|
2522
|
+
{
|
|
2523
|
+
"Ref": "AWS::AccountId"
|
|
2524
|
+
},
|
|
2525
|
+
":log-group:/aws/ssm/vscode-server-ubuntu-IntegTestStackCustomDomain:*"
|
|
2526
|
+
]
|
|
2527
|
+
]
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
],
|
|
2531
|
+
"Version": "2012-10-17"
|
|
2532
|
+
},
|
|
2533
|
+
"PolicyName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB",
|
|
2534
|
+
"Roles": [
|
|
2535
|
+
{
|
|
2536
|
+
"Ref": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB"
|
|
2537
|
+
}
|
|
2538
|
+
]
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A": {
|
|
2371
2542
|
"Type": "AWS::Lambda::Function",
|
|
2372
2543
|
"Properties": {
|
|
2544
|
+
"Handler": "index.handler",
|
|
2545
|
+
"Runtime": "nodejs24.x",
|
|
2546
|
+
"Timeout": 900,
|
|
2373
2547
|
"Code": {
|
|
2374
2548
|
"S3Bucket": {
|
|
2375
2549
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
2376
2550
|
},
|
|
2377
|
-
"S3Key": "
|
|
2551
|
+
"S3Key": "2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d.zip"
|
|
2378
2552
|
},
|
|
2379
|
-
"Handler": "index.handler",
|
|
2380
2553
|
"Role": {
|
|
2381
2554
|
"Fn::GetAtt": [
|
|
2382
|
-
"
|
|
2555
|
+
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB",
|
|
2383
2556
|
"Arn"
|
|
2384
2557
|
]
|
|
2385
|
-
}
|
|
2386
|
-
"Runtime": "nodejs20.x",
|
|
2387
|
-
"Timeout": 30
|
|
2558
|
+
}
|
|
2388
2559
|
},
|
|
2389
2560
|
"DependsOn": [
|
|
2390
|
-
"
|
|
2561
|
+
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB",
|
|
2562
|
+
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB"
|
|
2391
2563
|
]
|
|
2392
2564
|
},
|
|
2393
|
-
"
|
|
2394
|
-
"Type": "
|
|
2565
|
+
"LoginHandlerLogGroup2351D4F9": {
|
|
2566
|
+
"Type": "AWS::Logs::LogGroup",
|
|
2395
2567
|
"Properties": {
|
|
2396
|
-
"
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
]
|
|
2401
|
-
},
|
|
2402
|
-
"LogGroupName": {
|
|
2403
|
-
"Fn::Join": [
|
|
2404
|
-
"",
|
|
2405
|
-
[
|
|
2406
|
-
"/aws/lambda/",
|
|
2407
|
-
{
|
|
2408
|
-
"Ref": "loginhandler99CCCCFD"
|
|
2409
|
-
}
|
|
2410
|
-
]
|
|
2411
|
-
]
|
|
2412
|
-
},
|
|
2413
|
-
"RetentionInDays": 1
|
|
2414
|
-
}
|
|
2568
|
+
"RetentionInDays": 5
|
|
2569
|
+
},
|
|
2570
|
+
"UpdateReplacePolicy": "Delete",
|
|
2571
|
+
"DeletionPolicy": "Delete"
|
|
2415
2572
|
},
|
|
2416
|
-
"
|
|
2573
|
+
"loginhandlerServiceRole330B0B32": {
|
|
2417
2574
|
"Type": "AWS::IAM::Role",
|
|
2418
2575
|
"Properties": {
|
|
2419
2576
|
"AssumeRolePolicyDocument": {
|
|
@@ -2444,52 +2601,32 @@
|
|
|
2444
2601
|
]
|
|
2445
2602
|
}
|
|
2446
2603
|
},
|
|
2447
|
-
"
|
|
2448
|
-
"Type": "AWS::IAM::Policy",
|
|
2449
|
-
"Properties": {
|
|
2450
|
-
"PolicyDocument": {
|
|
2451
|
-
"Statement": [
|
|
2452
|
-
{
|
|
2453
|
-
"Action": [
|
|
2454
|
-
"logs:DeleteRetentionPolicy",
|
|
2455
|
-
"logs:PutRetentionPolicy"
|
|
2456
|
-
],
|
|
2457
|
-
"Effect": "Allow",
|
|
2458
|
-
"Resource": "*"
|
|
2459
|
-
}
|
|
2460
|
-
],
|
|
2461
|
-
"Version": "2012-10-17"
|
|
2462
|
-
},
|
|
2463
|
-
"PolicyName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB",
|
|
2464
|
-
"Roles": [
|
|
2465
|
-
{
|
|
2466
|
-
"Ref": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB"
|
|
2467
|
-
}
|
|
2468
|
-
]
|
|
2469
|
-
}
|
|
2470
|
-
},
|
|
2471
|
-
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A": {
|
|
2604
|
+
"loginhandler99CCCCFD": {
|
|
2472
2605
|
"Type": "AWS::Lambda::Function",
|
|
2473
2606
|
"Properties": {
|
|
2474
|
-
"Handler": "index.handler",
|
|
2475
|
-
"Runtime": "nodejs24.x",
|
|
2476
|
-
"Timeout": 900,
|
|
2477
2607
|
"Code": {
|
|
2478
2608
|
"S3Bucket": {
|
|
2479
2609
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
2480
2610
|
},
|
|
2481
|
-
"S3Key": "
|
|
2611
|
+
"S3Key": "cf551b9486b7d659176866961b59c229e25bb1d1de3e5fd5d1ca4bca396c316d.zip"
|
|
2612
|
+
},
|
|
2613
|
+
"Handler": "index.handler",
|
|
2614
|
+
"LoggingConfig": {
|
|
2615
|
+
"LogGroup": {
|
|
2616
|
+
"Ref": "LoginHandlerLogGroup2351D4F9"
|
|
2617
|
+
}
|
|
2482
2618
|
},
|
|
2483
2619
|
"Role": {
|
|
2484
2620
|
"Fn::GetAtt": [
|
|
2485
|
-
"
|
|
2621
|
+
"loginhandlerServiceRole330B0B32",
|
|
2486
2622
|
"Arn"
|
|
2487
2623
|
]
|
|
2488
|
-
}
|
|
2624
|
+
},
|
|
2625
|
+
"Runtime": "nodejs20.x",
|
|
2626
|
+
"Timeout": 30
|
|
2489
2627
|
},
|
|
2490
2628
|
"DependsOn": [
|
|
2491
|
-
"
|
|
2492
|
-
"LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB"
|
|
2629
|
+
"loginhandlerServiceRole330B0B32"
|
|
2493
2630
|
]
|
|
2494
2631
|
}
|
|
2495
2632
|
},
|