@aws-solutions-constructs/resources 2.80.0 → 2.81.0

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 (30) hide show
  1. package/.jsii +43 -4
  2. package/lib/template-writer-custom-resource/index.d.ts +1 -0
  3. package/lib/template-writer-custom-resource/index.js +7 -2
  4. package/package.json +6 -6
  5. package/test/integ.key-policy-updater.js.snapshot/cdk.out +1 -1
  6. package/test/integ.key-policy-updater.js.snapshot/integ.json +1 -1
  7. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +3 -3
  8. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +50 -45
  9. package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json +1 -1
  10. package/test/integ.key-policy-updater.js.snapshot/manifest.json +97 -55
  11. package/test/integ.key-policy-updater.js.snapshot/tree.json +1 -1035
  12. package/test/integ.template-writer-from-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.d.ts +1 -0
  13. package/test/integ.template-writer-from-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.js +7 -2
  14. package/test/integ.template-writer-from-asset.js.snapshot/cdk.out +1 -1
  15. package/test/integ.template-writer-from-asset.js.snapshot/integ.json +1 -1
  16. package/test/integ.template-writer-from-asset.js.snapshot/manifest.json +96 -54
  17. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json +6 -6
  18. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json +51 -46
  19. package/test/integ.template-writer-from-asset.js.snapshot/templatewriterfromassetIntegDefaultTestDeployAssert3AE00E9B.assets.json +1 -1
  20. package/test/integ.template-writer-from-asset.js.snapshot/tree.json +1 -857
  21. package/test/integ.template-writer-from-large-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.d.ts +1 -0
  22. package/test/integ.template-writer-from-large-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.js +7 -2
  23. package/test/integ.template-writer-from-large-asset.js.snapshot/cdk.out +1 -1
  24. package/test/integ.template-writer-from-large-asset.js.snapshot/integ.json +1 -1
  25. package/test/integ.template-writer-from-large-asset.js.snapshot/manifest.json +96 -54
  26. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.assets.json +6 -6
  27. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.template.json +51 -46
  28. package/test/integ.template-writer-from-large-asset.js.snapshot/templatewriterfromlargeassetIntegDefaultTestDeployAssertA02D2FEC.assets.json +1 -1
  29. package/test/integ.template-writer-from-large-asset.js.snapshot/tree.json +1 -859
  30. package/test/template-writer.test.js +37 -1
@@ -1,859 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "template-writer-from-large-asset": {
8
- "id": "template-writer-from-large-asset",
9
- "path": "template-writer-from-large-asset",
10
- "children": {
11
- "TemplateAsset": {
12
- "id": "TemplateAsset",
13
- "path": "template-writer-from-large-asset/TemplateAsset",
14
- "children": {
15
- "Stage": {
16
- "id": "Stage",
17
- "path": "template-writer-from-large-asset/TemplateAsset/Stage",
18
- "constructInfo": {
19
- "fqn": "aws-cdk-lib.AssetStaging",
20
- "version": "2.179.0"
21
- }
22
- },
23
- "AssetBucket": {
24
- "id": "AssetBucket",
25
- "path": "template-writer-from-large-asset/TemplateAsset/AssetBucket",
26
- "constructInfo": {
27
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
28
- "version": "2.179.0",
29
- "metadata": []
30
- }
31
- }
32
- },
33
- "constructInfo": {
34
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
35
- "version": "2.179.0"
36
- }
37
- },
38
- "TestOutputAsset": {
39
- "id": "TestOutputAsset",
40
- "path": "template-writer-from-large-asset/TestOutputAsset",
41
- "children": {
42
- "Stage": {
43
- "id": "Stage",
44
- "path": "template-writer-from-large-asset/TestOutputAsset/Stage",
45
- "constructInfo": {
46
- "fqn": "aws-cdk-lib.AssetStaging",
47
- "version": "2.179.0"
48
- }
49
- },
50
- "AssetBucket": {
51
- "id": "AssetBucket",
52
- "path": "template-writer-from-large-asset/TestOutputAsset/AssetBucket",
53
- "constructInfo": {
54
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
55
- "version": "2.179.0",
56
- "metadata": []
57
- }
58
- }
59
- },
60
- "constructInfo": {
61
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
62
- "version": "2.179.0"
63
- }
64
- },
65
- "LambdaFunctionServiceRole": {
66
- "id": "LambdaFunctionServiceRole",
67
- "path": "template-writer-from-large-asset/LambdaFunctionServiceRole",
68
- "children": {
69
- "ImportLambdaFunctionServiceRole": {
70
- "id": "ImportLambdaFunctionServiceRole",
71
- "path": "template-writer-from-large-asset/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
72
- "constructInfo": {
73
- "fqn": "aws-cdk-lib.Resource",
74
- "version": "2.179.0",
75
- "metadata": [
76
- "*"
77
- ]
78
- }
79
- },
80
- "Resource": {
81
- "id": "Resource",
82
- "path": "template-writer-from-large-asset/LambdaFunctionServiceRole/Resource",
83
- "attributes": {
84
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
85
- "aws:cdk:cloudformation:props": {
86
- "assumeRolePolicyDocument": {
87
- "Statement": [
88
- {
89
- "Action": "sts:AssumeRole",
90
- "Effect": "Allow",
91
- "Principal": {
92
- "Service": "lambda.amazonaws.com"
93
- }
94
- }
95
- ],
96
- "Version": "2012-10-17"
97
- },
98
- "policies": [
99
- {
100
- "policyName": "LambdaFunctionServiceRolePolicy",
101
- "policyDocument": {
102
- "Statement": [
103
- {
104
- "Action": [
105
- "logs:CreateLogGroup",
106
- "logs:CreateLogStream",
107
- "logs:PutLogEvents"
108
- ],
109
- "Effect": "Allow",
110
- "Resource": {
111
- "Fn::Join": [
112
- "",
113
- [
114
- "arn:",
115
- {
116
- "Ref": "AWS::Partition"
117
- },
118
- ":logs:",
119
- {
120
- "Ref": "AWS::Region"
121
- },
122
- ":",
123
- {
124
- "Ref": "AWS::AccountId"
125
- },
126
- ":log-group:/aws/lambda/*"
127
- ]
128
- ]
129
- }
130
- }
131
- ],
132
- "Version": "2012-10-17"
133
- }
134
- }
135
- ]
136
- }
137
- },
138
- "constructInfo": {
139
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
140
- "version": "2.179.0"
141
- }
142
- },
143
- "DefaultPolicy": {
144
- "id": "DefaultPolicy",
145
- "path": "template-writer-from-large-asset/LambdaFunctionServiceRole/DefaultPolicy",
146
- "children": {
147
- "Resource": {
148
- "id": "Resource",
149
- "path": "template-writer-from-large-asset/LambdaFunctionServiceRole/DefaultPolicy/Resource",
150
- "attributes": {
151
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
152
- "aws:cdk:cloudformation:props": {
153
- "policyDocument": {
154
- "Statement": [
155
- {
156
- "Action": [
157
- "xray:PutTelemetryRecords",
158
- "xray:PutTraceSegments"
159
- ],
160
- "Effect": "Allow",
161
- "Resource": "*"
162
- }
163
- ],
164
- "Version": "2012-10-17"
165
- },
166
- "policyName": "LambdaFunctionServiceRoleDefaultPolicy126C8897",
167
- "roles": [
168
- {
169
- "Ref": "LambdaFunctionServiceRole0C4CDE0B"
170
- }
171
- ]
172
- }
173
- },
174
- "constructInfo": {
175
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
176
- "version": "2.179.0"
177
- }
178
- }
179
- },
180
- "constructInfo": {
181
- "fqn": "aws-cdk-lib.aws_iam.Policy",
182
- "version": "2.179.0",
183
- "metadata": [
184
- "*",
185
- {
186
- "attachToRole": [
187
- "*"
188
- ]
189
- },
190
- {
191
- "attachToRole": [
192
- "*"
193
- ]
194
- },
195
- {
196
- "addStatements": [
197
- {}
198
- ]
199
- }
200
- ]
201
- }
202
- }
203
- },
204
- "constructInfo": {
205
- "fqn": "aws-cdk-lib.aws_iam.Role",
206
- "version": "2.179.0",
207
- "metadata": [
208
- {
209
- "assumedBy": {
210
- "principalAccount": "*",
211
- "assumeRoleAction": "*"
212
- },
213
- "inlinePolicies": "*"
214
- },
215
- {
216
- "addToPrincipalPolicy": [
217
- {}
218
- ]
219
- },
220
- {
221
- "attachInlinePolicy": [
222
- "*"
223
- ]
224
- },
225
- {
226
- "attachInlinePolicy": [
227
- "*"
228
- ]
229
- },
230
- {
231
- "attachInlinePolicy": [
232
- "*"
233
- ]
234
- },
235
- {
236
- "attachInlinePolicy": [
237
- "*"
238
- ]
239
- }
240
- ]
241
- }
242
- },
243
- "LambdaFunction": {
244
- "id": "LambdaFunction",
245
- "path": "template-writer-from-large-asset/LambdaFunction",
246
- "children": {
247
- "Code": {
248
- "id": "Code",
249
- "path": "template-writer-from-large-asset/LambdaFunction/Code",
250
- "children": {
251
- "Stage": {
252
- "id": "Stage",
253
- "path": "template-writer-from-large-asset/LambdaFunction/Code/Stage",
254
- "constructInfo": {
255
- "fqn": "aws-cdk-lib.AssetStaging",
256
- "version": "2.179.0"
257
- }
258
- },
259
- "AssetBucket": {
260
- "id": "AssetBucket",
261
- "path": "template-writer-from-large-asset/LambdaFunction/Code/AssetBucket",
262
- "constructInfo": {
263
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
264
- "version": "2.179.0",
265
- "metadata": []
266
- }
267
- }
268
- },
269
- "constructInfo": {
270
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
271
- "version": "2.179.0"
272
- }
273
- },
274
- "Resource": {
275
- "id": "Resource",
276
- "path": "template-writer-from-large-asset/LambdaFunction/Resource",
277
- "attributes": {
278
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
279
- "aws:cdk:cloudformation:props": {
280
- "code": {
281
- "s3Bucket": {
282
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
283
- },
284
- "s3Key": "37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7.zip"
285
- },
286
- "environment": {
287
- "variables": {
288
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
289
- }
290
- },
291
- "handler": "index.handler",
292
- "memorySize": 1024,
293
- "role": {
294
- "Fn::GetAtt": [
295
- "LambdaFunctionServiceRole0C4CDE0B",
296
- "Arn"
297
- ]
298
- },
299
- "runtime": "nodejs20.x",
300
- "timeout": 60,
301
- "tracingConfig": {
302
- "mode": "Active"
303
- }
304
- }
305
- },
306
- "constructInfo": {
307
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
308
- "version": "2.179.0"
309
- }
310
- }
311
- },
312
- "constructInfo": {
313
- "fqn": "aws-cdk-lib.aws_lambda.Function",
314
- "version": "2.179.0",
315
- "metadata": [
316
- {
317
- "role": "*",
318
- "tracing": "Active",
319
- "runtime": "*",
320
- "handler": "*",
321
- "code": "*",
322
- "timeout": "*",
323
- "memorySize": "*"
324
- },
325
- {
326
- "addEnvironment": [
327
- "*",
328
- "*",
329
- {
330
- "removeInEdge": true
331
- }
332
- ]
333
- }
334
- ]
335
- }
336
- },
337
- "TestTemplateWriterPolicy": {
338
- "id": "TestTemplateWriterPolicy",
339
- "path": "template-writer-from-large-asset/TestTemplateWriterPolicy",
340
- "children": {
341
- "Resource": {
342
- "id": "Resource",
343
- "path": "template-writer-from-large-asset/TestTemplateWriterPolicy/Resource",
344
- "attributes": {
345
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
346
- "aws:cdk:cloudformation:props": {
347
- "policyDocument": {
348
- "Statement": [
349
- {
350
- "Action": "s3:GetObject",
351
- "Effect": "Allow",
352
- "Resource": {
353
- "Fn::Join": [
354
- "",
355
- [
356
- "arn:",
357
- {
358
- "Ref": "AWS::Partition"
359
- },
360
- ":s3:::",
361
- {
362
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
363
- },
364
- "/122da676fba68619def0d539ff80855eaa0ba3686fb37faa298ce277c4feb8f8.122da676fba68619def0d539ff80855eaa0ba3686fb37faa298ce277c4feb8f8"
365
- ]
366
- ]
367
- }
368
- },
369
- {
370
- "Action": "s3:PutObject",
371
- "Effect": "Allow",
372
- "Resource": {
373
- "Fn::Join": [
374
- "",
375
- [
376
- "arn:",
377
- {
378
- "Ref": "AWS::Partition"
379
- },
380
- ":s3:::",
381
- {
382
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
383
- },
384
- "/*"
385
- ]
386
- ]
387
- }
388
- }
389
- ],
390
- "Version": "2012-10-17"
391
- },
392
- "policyName": "TestTemplateWriterPolicy8177DE02",
393
- "roles": [
394
- {
395
- "Ref": "LambdaFunctionServiceRole0C4CDE0B"
396
- }
397
- ]
398
- }
399
- },
400
- "constructInfo": {
401
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
402
- "version": "2.179.0"
403
- }
404
- }
405
- },
406
- "constructInfo": {
407
- "fqn": "aws-cdk-lib.aws_iam.Policy",
408
- "version": "2.179.0",
409
- "metadata": [
410
- {
411
- "statements": "*"
412
- },
413
- {
414
- "addStatements": [
415
- {}
416
- ]
417
- },
418
- {
419
- "addStatements": [
420
- {}
421
- ]
422
- },
423
- {
424
- "attachToRole": [
425
- "*"
426
- ]
427
- },
428
- {
429
- "attachToRole": [
430
- "*"
431
- ]
432
- }
433
- ]
434
- }
435
- },
436
- "TestTemplateWriterProvider": {
437
- "id": "TestTemplateWriterProvider",
438
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider",
439
- "children": {
440
- "framework-onEvent": {
441
- "id": "framework-onEvent",
442
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent",
443
- "children": {
444
- "ServiceRole": {
445
- "id": "ServiceRole",
446
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole",
447
- "children": {
448
- "ImportServiceRole": {
449
- "id": "ImportServiceRole",
450
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/ImportServiceRole",
451
- "constructInfo": {
452
- "fqn": "aws-cdk-lib.Resource",
453
- "version": "2.179.0",
454
- "metadata": [
455
- "*"
456
- ]
457
- }
458
- },
459
- "Resource": {
460
- "id": "Resource",
461
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/Resource",
462
- "attributes": {
463
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
464
- "aws:cdk:cloudformation:props": {
465
- "assumeRolePolicyDocument": {
466
- "Statement": [
467
- {
468
- "Action": "sts:AssumeRole",
469
- "Effect": "Allow",
470
- "Principal": {
471
- "Service": "lambda.amazonaws.com"
472
- }
473
- }
474
- ],
475
- "Version": "2012-10-17"
476
- },
477
- "managedPolicyArns": [
478
- {
479
- "Fn::Join": [
480
- "",
481
- [
482
- "arn:",
483
- {
484
- "Ref": "AWS::Partition"
485
- },
486
- ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
487
- ]
488
- ]
489
- }
490
- ]
491
- }
492
- },
493
- "constructInfo": {
494
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
495
- "version": "2.179.0"
496
- }
497
- },
498
- "DefaultPolicy": {
499
- "id": "DefaultPolicy",
500
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/DefaultPolicy",
501
- "children": {
502
- "Resource": {
503
- "id": "Resource",
504
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/DefaultPolicy/Resource",
505
- "attributes": {
506
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
507
- "aws:cdk:cloudformation:props": {
508
- "policyDocument": {
509
- "Statement": [
510
- {
511
- "Action": "lambda:InvokeFunction",
512
- "Effect": "Allow",
513
- "Resource": [
514
- {
515
- "Fn::GetAtt": [
516
- "LambdaFunctionBF21E41F",
517
- "Arn"
518
- ]
519
- },
520
- {
521
- "Fn::Join": [
522
- "",
523
- [
524
- {
525
- "Fn::GetAtt": [
526
- "LambdaFunctionBF21E41F",
527
- "Arn"
528
- ]
529
- },
530
- ":*"
531
- ]
532
- ]
533
- }
534
- ]
535
- },
536
- {
537
- "Action": "lambda:GetFunction",
538
- "Effect": "Allow",
539
- "Resource": {
540
- "Fn::GetAtt": [
541
- "LambdaFunctionBF21E41F",
542
- "Arn"
543
- ]
544
- }
545
- }
546
- ],
547
- "Version": "2012-10-17"
548
- },
549
- "policyName": "TestTemplateWriterProviderframeworkonEventServiceRoleDefaultPolicy08B90D53",
550
- "roles": [
551
- {
552
- "Ref": "TestTemplateWriterProviderframeworkonEventServiceRoleED11CF9A"
553
- }
554
- ]
555
- }
556
- },
557
- "constructInfo": {
558
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
559
- "version": "2.179.0"
560
- }
561
- }
562
- },
563
- "constructInfo": {
564
- "fqn": "aws-cdk-lib.aws_iam.Policy",
565
- "version": "2.179.0",
566
- "metadata": [
567
- "*",
568
- {
569
- "attachToRole": [
570
- "*"
571
- ]
572
- },
573
- {
574
- "attachToRole": [
575
- "*"
576
- ]
577
- },
578
- {
579
- "addStatements": [
580
- {}
581
- ]
582
- },
583
- {
584
- "addStatements": [
585
- {}
586
- ]
587
- }
588
- ]
589
- }
590
- }
591
- },
592
- "constructInfo": {
593
- "fqn": "aws-cdk-lib.aws_iam.Role",
594
- "version": "2.179.0",
595
- "metadata": [
596
- {
597
- "assumedBy": {
598
- "principalAccount": "*",
599
- "assumeRoleAction": "*"
600
- },
601
- "managedPolicies": [
602
- {
603
- "managedPolicyArn": "*"
604
- }
605
- ]
606
- },
607
- {
608
- "addToPrincipalPolicy": [
609
- {}
610
- ]
611
- },
612
- {
613
- "attachInlinePolicy": [
614
- "*"
615
- ]
616
- },
617
- {
618
- "attachInlinePolicy": [
619
- "*"
620
- ]
621
- },
622
- {
623
- "addToPrincipalPolicy": [
624
- {}
625
- ]
626
- }
627
- ]
628
- }
629
- },
630
- "Code": {
631
- "id": "Code",
632
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Code",
633
- "children": {
634
- "Stage": {
635
- "id": "Stage",
636
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Code/Stage",
637
- "constructInfo": {
638
- "fqn": "aws-cdk-lib.AssetStaging",
639
- "version": "2.179.0"
640
- }
641
- },
642
- "AssetBucket": {
643
- "id": "AssetBucket",
644
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Code/AssetBucket",
645
- "constructInfo": {
646
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
647
- "version": "2.179.0",
648
- "metadata": []
649
- }
650
- }
651
- },
652
- "constructInfo": {
653
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
654
- "version": "2.179.0"
655
- }
656
- },
657
- "Resource": {
658
- "id": "Resource",
659
- "path": "template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Resource",
660
- "attributes": {
661
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
662
- "aws:cdk:cloudformation:props": {
663
- "code": {
664
- "s3Bucket": {
665
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
666
- },
667
- "s3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
668
- },
669
- "description": "AWS CDK resource provider framework - onEvent (template-writer-from-large-asset/TestTemplateWriterProvider)",
670
- "environment": {
671
- "variables": {
672
- "USER_ON_EVENT_FUNCTION_ARN": {
673
- "Fn::GetAtt": [
674
- "LambdaFunctionBF21E41F",
675
- "Arn"
676
- ]
677
- }
678
- }
679
- },
680
- "handler": "framework.onEvent",
681
- "role": {
682
- "Fn::GetAtt": [
683
- "TestTemplateWriterProviderframeworkonEventServiceRoleED11CF9A",
684
- "Arn"
685
- ]
686
- },
687
- "runtime": {
688
- "Fn::FindInMap": [
689
- "LatestNodeRuntimeMap",
690
- {
691
- "Ref": "AWS::Region"
692
- },
693
- "value"
694
- ]
695
- },
696
- "timeout": 900
697
- }
698
- },
699
- "constructInfo": {
700
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
701
- "version": "2.179.0"
702
- }
703
- }
704
- },
705
- "constructInfo": {
706
- "fqn": "aws-cdk-lib.aws_lambda.Function",
707
- "version": "2.179.0",
708
- "metadata": [
709
- {
710
- "code": "*",
711
- "description": "*",
712
- "runtime": "*",
713
- "handler": "*",
714
- "timeout": "*",
715
- "logGroup": "*",
716
- "vpc": "*",
717
- "vpcSubnets": "*",
718
- "securityGroups": "*",
719
- "role": "*",
720
- "functionName": "*",
721
- "environmentEncryption": "*"
722
- },
723
- {
724
- "addEnvironment": [
725
- "*",
726
- "*"
727
- ]
728
- }
729
- ]
730
- }
731
- }
732
- },
733
- "constructInfo": {
734
- "fqn": "aws-cdk-lib.custom_resources.Provider",
735
- "version": "2.179.0"
736
- }
737
- },
738
- "LatestNodeRuntimeMap": {
739
- "id": "LatestNodeRuntimeMap",
740
- "path": "template-writer-from-large-asset/LatestNodeRuntimeMap",
741
- "constructInfo": {
742
- "fqn": "aws-cdk-lib.CfnMapping",
743
- "version": "2.179.0"
744
- }
745
- },
746
- "TestTemplateWriterCustomResource": {
747
- "id": "TestTemplateWriterCustomResource",
748
- "path": "template-writer-from-large-asset/TestTemplateWriterCustomResource",
749
- "children": {
750
- "Default": {
751
- "id": "Default",
752
- "path": "template-writer-from-large-asset/TestTemplateWriterCustomResource/Default",
753
- "constructInfo": {
754
- "fqn": "aws-cdk-lib.CfnResource",
755
- "version": "2.179.0"
756
- }
757
- }
758
- },
759
- "constructInfo": {
760
- "fqn": "aws-cdk-lib.CustomResource",
761
- "version": "2.179.0",
762
- "metadata": [
763
- "*",
764
- "*",
765
- "*"
766
- ]
767
- }
768
- },
769
- "Integ": {
770
- "id": "Integ",
771
- "path": "template-writer-from-large-asset/Integ",
772
- "children": {
773
- "DefaultTest": {
774
- "id": "DefaultTest",
775
- "path": "template-writer-from-large-asset/Integ/DefaultTest",
776
- "children": {
777
- "Default": {
778
- "id": "Default",
779
- "path": "template-writer-from-large-asset/Integ/DefaultTest/Default",
780
- "constructInfo": {
781
- "fqn": "constructs.Construct",
782
- "version": "10.4.2"
783
- }
784
- },
785
- "DeployAssert": {
786
- "id": "DeployAssert",
787
- "path": "template-writer-from-large-asset/Integ/DefaultTest/DeployAssert",
788
- "children": {
789
- "BootstrapVersion": {
790
- "id": "BootstrapVersion",
791
- "path": "template-writer-from-large-asset/Integ/DefaultTest/DeployAssert/BootstrapVersion",
792
- "constructInfo": {
793
- "fqn": "aws-cdk-lib.CfnParameter",
794
- "version": "2.179.0"
795
- }
796
- },
797
- "CheckBootstrapVersion": {
798
- "id": "CheckBootstrapVersion",
799
- "path": "template-writer-from-large-asset/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
800
- "constructInfo": {
801
- "fqn": "aws-cdk-lib.CfnRule",
802
- "version": "2.179.0"
803
- }
804
- }
805
- },
806
- "constructInfo": {
807
- "fqn": "aws-cdk-lib.Stack",
808
- "version": "2.179.0"
809
- }
810
- }
811
- },
812
- "constructInfo": {
813
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
814
- "version": "2.179.0-alpha.0"
815
- }
816
- }
817
- },
818
- "constructInfo": {
819
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
820
- "version": "2.179.0-alpha.0"
821
- }
822
- },
823
- "BootstrapVersion": {
824
- "id": "BootstrapVersion",
825
- "path": "template-writer-from-large-asset/BootstrapVersion",
826
- "constructInfo": {
827
- "fqn": "aws-cdk-lib.CfnParameter",
828
- "version": "2.179.0"
829
- }
830
- },
831
- "CheckBootstrapVersion": {
832
- "id": "CheckBootstrapVersion",
833
- "path": "template-writer-from-large-asset/CheckBootstrapVersion",
834
- "constructInfo": {
835
- "fqn": "aws-cdk-lib.CfnRule",
836
- "version": "2.179.0"
837
- }
838
- }
839
- },
840
- "constructInfo": {
841
- "fqn": "aws-cdk-lib.Stack",
842
- "version": "2.179.0"
843
- }
844
- },
845
- "Tree": {
846
- "id": "Tree",
847
- "path": "Tree",
848
- "constructInfo": {
849
- "fqn": "constructs.Construct",
850
- "version": "10.4.2"
851
- }
852
- }
853
- },
854
- "constructInfo": {
855
- "fqn": "aws-cdk-lib.App",
856
- "version": "2.179.0"
857
- }
858
- }
859
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"template-writer-from-large-asset":{"id":"template-writer-from-large-asset","path":"template-writer-from-large-asset","children":{"TemplateAsset":{"id":"TemplateAsset","path":"template-writer-from-large-asset/TemplateAsset","children":{"Stage":{"id":"Stage","path":"template-writer-from-large-asset/TemplateAsset/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"template-writer-from-large-asset/TemplateAsset/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"TestOutputAsset":{"id":"TestOutputAsset","path":"template-writer-from-large-asset/TestOutputAsset","children":{"Stage":{"id":"Stage","path":"template-writer-from-large-asset/TestOutputAsset/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"template-writer-from-large-asset/TestOutputAsset/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"template-writer-from-large-asset/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"template-writer-from-large-asset/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"template-writer-from-large-asset/LambdaFunctionServiceRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"LambdaFunction":{"id":"LambdaFunction","path":"template-writer-from-large-asset/LambdaFunction","children":{"Code":{"id":"Code","path":"template-writer-from-large-asset/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"template-writer-from-large-asset/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"template-writer-from-large-asset/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"template-writer-from-large-asset/LambdaFunction/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1"}},"handler":"index.handler","memorySize":1024,"role":{"Fn::GetAtt":["LambdaFunctionServiceRole0C4CDE0B","Arn"]},"runtime":"nodejs20.x","timeout":60,"tracingConfig":{"mode":"Active"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"template-writer-from-large-asset/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"template-writer-from-large-asset/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"LambdaFunctioninlinePolicyAddedToExecutionRole007875684","roles":[{"Ref":"LambdaFunctionServiceRole0C4CDE0B"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"role":"*","tracing":"Active","runtime":"*","handler":"*","code":"*","timeout":"*","memorySize":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]}]}},"TestTemplateWriterPolicy":{"id":"TestTemplateWriterPolicy","path":"template-writer-from-large-asset/TestTemplateWriterPolicy","children":{"Resource":{"id":"Resource","path":"template-writer-from-large-asset/TestTemplateWriterPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"s3:GetObject","Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"/122da676fba68619def0d539ff80855eaa0ba3686fb37faa298ce277c4feb8f8.122da676fba68619def0d539ff80855eaa0ba3686fb37faa298ce277c4feb8f8"]]}},{"Action":"s3:PutObject","Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"/*"]]}}],"Version":"2012-10-17"},"policyName":"TestTemplateWriterPolicy8177DE02","roles":[{"Ref":"LambdaFunctionServiceRole0C4CDE0B"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}},"TestTemplateWriterProvider":{"id":"TestTemplateWriterProvider","path":"template-writer-from-large-asset/TestTemplateWriterProvider","children":{"framework-onEvent":{"id":"framework-onEvent","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent","children":{"ServiceRole":{"id":"ServiceRole","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole","children":{"ImportServiceRole":{"id":"ImportServiceRole","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/ImportServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"managedPolicyArns":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"]]}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"lambda:InvokeFunction","Effect":"Allow","Resource":[{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]},":*"]]}]}],"Version":"2012-10-17"},"policyName":"TestTemplateWriterProviderframeworkonEventServiceRoleDefaultPolicy08B90D53","roles":[{"Ref":"TestTemplateWriterProviderframeworkonEventServiceRoleED11CF9A"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"managedPolicies":[{"managedPolicyArn":"*"}]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"Code":{"id":"Code","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Code","children":{"Stage":{"id":"Stage","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"},"description":"AWS CDK resource provider framework - onEvent (template-writer-from-large-asset/TestTemplateWriterProvider)","environment":{"variables":{"USER_ON_EVENT_FUNCTION_ARN":{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]}}},"handler":"framework.onEvent","role":{"Fn::GetAtt":["TestTemplateWriterProviderframeworkonEventServiceRoleED11CF9A","Arn"]},"runtime":{"Fn::FindInMap":["LatestNodeRuntimeMap",{"Ref":"AWS::Region"},"value"]},"timeout":900}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"template-writer-from-large-asset/TestTemplateWriterProvider/framework-onEvent/inlinePolicyAddedToExecutionRole-0/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"lambda:GetFunction","Effect":"Allow","Resource":{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]}}],"Version":"2012-10-17"},"policyName":"TestTemplateWriterProviderframeworkonEventinlinePolicyAddedToExecutionRole08CC44E87","roles":[{"Ref":"TestTemplateWriterProviderframeworkonEventServiceRoleED11CF9A"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"code":"*","description":"*","runtime":"*","handler":"*","timeout":"*","logGroup":"*","vpc":"*","vpcSubnets":"*","securityGroups":"*","role":"*","functionName":"*","environmentEncryption":"*"},{"addEnvironment":["*","*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.custom_resources.Provider","version":"2.186.0"}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"template-writer-from-large-asset/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.186.0"}},"TestTemplateWriterCustomResource":{"id":"TestTemplateWriterCustomResource","path":"template-writer-from-large-asset/TestTemplateWriterCustomResource","children":{"Default":{"id":"Default","path":"template-writer-from-large-asset/TestTemplateWriterCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.186.0","metadata":["*","*","*"]}},"Integ":{"id":"Integ","path":"template-writer-from-large-asset/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"template-writer-from-large-asset/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"template-writer-from-large-asset/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"template-writer-from-large-asset/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"template-writer-from-large-asset/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"template-writer-from-large-asset/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.186.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.186.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"template-writer-from-large-asset/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"template-writer-from-large-asset/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.186.0"}}}