@aws-solutions-constructs/resources 2.60.0 → 2.62.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.
- package/.jsii +40 -27
- package/lib/key-policy-updater.js +3 -2
- package/lib/template-writer.js +4 -2
- package/package.json +6 -6
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +2 -2
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +124 -2
- package/test/integ.key-policy-updater.js.snapshot/manifest.json +7 -1
- package/test/integ.key-policy-updater.js.snapshot/tree.json +67 -46
- package/test/integ.template-writer-from-asset.js.snapshot/manifest.json +7 -19
- package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json +2 -2
- package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json +127 -2
- package/test/integ.template-writer-from-asset.js.snapshot/tree.json +63 -42
- package/test/integ.template-writer-from-large-asset.js.snapshot/manifest.json +7 -19
- package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.assets.json +2 -2
- package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.template.json +127 -2
- package/test/integ.template-writer-from-large-asset.js.snapshot/tree.json +63 -42
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
},
|
|
52
52
|
"constructInfo": {
|
|
53
53
|
"fqn": "aws-cdk-lib.aws_kms.CfnKey",
|
|
54
|
-
"version": "2.
|
|
54
|
+
"version": "2.147.3"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"constructInfo": {
|
|
59
59
|
"fqn": "aws-cdk-lib.aws_kms.Key",
|
|
60
|
-
"version": "2.
|
|
60
|
+
"version": "2.147.3"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"test bucket": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
},
|
|
84
84
|
"constructInfo": {
|
|
85
85
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
86
|
-
"version": "2.
|
|
86
|
+
"version": "2.147.3"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"Policy": {
|
|
@@ -134,19 +134,19 @@
|
|
|
134
134
|
},
|
|
135
135
|
"constructInfo": {
|
|
136
136
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
137
|
-
"version": "2.
|
|
137
|
+
"version": "2.147.3"
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
"constructInfo": {
|
|
142
142
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
143
|
-
"version": "2.
|
|
143
|
+
"version": "2.147.3"
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
"constructInfo": {
|
|
148
148
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
149
|
-
"version": "2.
|
|
149
|
+
"version": "2.147.3"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
"test dist": {
|
|
@@ -174,13 +174,13 @@
|
|
|
174
174
|
},
|
|
175
175
|
"constructInfo": {
|
|
176
176
|
"fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
|
|
177
|
-
"version": "2.
|
|
177
|
+
"version": "2.147.3"
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
"constructInfo": {
|
|
182
182
|
"fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
|
|
183
|
-
"version": "2.
|
|
183
|
+
"version": "2.147.3"
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
},
|
|
@@ -235,13 +235,13 @@
|
|
|
235
235
|
},
|
|
236
236
|
"constructInfo": {
|
|
237
237
|
"fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
|
|
238
|
-
"version": "2.
|
|
238
|
+
"version": "2.147.3"
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
"constructInfo": {
|
|
243
243
|
"fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
|
|
244
|
-
"version": "2.
|
|
244
|
+
"version": "2.147.3"
|
|
245
245
|
}
|
|
246
246
|
},
|
|
247
247
|
"LambdaFunctionServiceRole": {
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
"path": "key-policy-updater/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
254
254
|
"constructInfo": {
|
|
255
255
|
"fqn": "aws-cdk-lib.Resource",
|
|
256
|
-
"version": "2.
|
|
256
|
+
"version": "2.147.3"
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
"Resource": {
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
},
|
|
317
317
|
"constructInfo": {
|
|
318
318
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
319
|
-
"version": "2.
|
|
319
|
+
"version": "2.147.3"
|
|
320
320
|
}
|
|
321
321
|
},
|
|
322
322
|
"DefaultPolicy": {
|
|
@@ -352,19 +352,19 @@
|
|
|
352
352
|
},
|
|
353
353
|
"constructInfo": {
|
|
354
354
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
355
|
-
"version": "2.
|
|
355
|
+
"version": "2.147.3"
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
359
|
"constructInfo": {
|
|
360
360
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
361
|
-
"version": "2.
|
|
361
|
+
"version": "2.147.3"
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
"constructInfo": {
|
|
366
366
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
367
|
-
"version": "2.
|
|
367
|
+
"version": "2.147.3"
|
|
368
368
|
}
|
|
369
369
|
},
|
|
370
370
|
"LambdaFunction": {
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"path": "key-policy-updater/LambdaFunction/Code/Stage",
|
|
381
381
|
"constructInfo": {
|
|
382
382
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
383
|
-
"version": "2.
|
|
383
|
+
"version": "2.147.3"
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
386
|
"AssetBucket": {
|
|
@@ -388,13 +388,13 @@
|
|
|
388
388
|
"path": "key-policy-updater/LambdaFunction/Code/AssetBucket",
|
|
389
389
|
"constructInfo": {
|
|
390
390
|
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
391
|
-
"version": "2.
|
|
391
|
+
"version": "2.147.3"
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
},
|
|
395
395
|
"constructInfo": {
|
|
396
396
|
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
397
|
-
"version": "2.
|
|
397
|
+
"version": "2.147.3"
|
|
398
398
|
}
|
|
399
399
|
},
|
|
400
400
|
"Resource": {
|
|
@@ -410,6 +410,11 @@
|
|
|
410
410
|
"s3Key": "4a4b024f310aca2784b69bcb790e9ccaef785e9ad5d1b73624144f88c4465b4f.zip"
|
|
411
411
|
},
|
|
412
412
|
"description": "Custom resource function that updates a provided key policy to allow CloudFront access.",
|
|
413
|
+
"environment": {
|
|
414
|
+
"variables": {
|
|
415
|
+
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
413
418
|
"handler": "index.handler",
|
|
414
419
|
"role": {
|
|
415
420
|
"Fn::GetAtt": [
|
|
@@ -417,7 +422,7 @@
|
|
|
417
422
|
"Arn"
|
|
418
423
|
]
|
|
419
424
|
},
|
|
420
|
-
"runtime": "
|
|
425
|
+
"runtime": "nodejs20.x",
|
|
421
426
|
"tracingConfig": {
|
|
422
427
|
"mode": "Active"
|
|
423
428
|
}
|
|
@@ -425,13 +430,13 @@
|
|
|
425
430
|
},
|
|
426
431
|
"constructInfo": {
|
|
427
432
|
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
428
|
-
"version": "2.
|
|
433
|
+
"version": "2.147.3"
|
|
429
434
|
}
|
|
430
435
|
}
|
|
431
436
|
},
|
|
432
437
|
"constructInfo": {
|
|
433
438
|
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
434
|
-
"version": "2.
|
|
439
|
+
"version": "2.147.3"
|
|
435
440
|
}
|
|
436
441
|
},
|
|
437
442
|
"TestResourceCmkPolicy": {
|
|
@@ -473,13 +478,13 @@
|
|
|
473
478
|
},
|
|
474
479
|
"constructInfo": {
|
|
475
480
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
476
|
-
"version": "2.
|
|
481
|
+
"version": "2.147.3"
|
|
477
482
|
}
|
|
478
483
|
}
|
|
479
484
|
},
|
|
480
485
|
"constructInfo": {
|
|
481
486
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
482
|
-
"version": "2.
|
|
487
|
+
"version": "2.147.3"
|
|
483
488
|
}
|
|
484
489
|
},
|
|
485
490
|
"KmsKeyPolicyUpdateProvider": {
|
|
@@ -499,7 +504,7 @@
|
|
|
499
504
|
"path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/ImportServiceRole",
|
|
500
505
|
"constructInfo": {
|
|
501
506
|
"fqn": "aws-cdk-lib.Resource",
|
|
502
|
-
"version": "2.
|
|
507
|
+
"version": "2.147.3"
|
|
503
508
|
}
|
|
504
509
|
},
|
|
505
510
|
"Resource": {
|
|
@@ -538,7 +543,7 @@
|
|
|
538
543
|
},
|
|
539
544
|
"constructInfo": {
|
|
540
545
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
541
|
-
"version": "2.
|
|
546
|
+
"version": "2.147.3"
|
|
542
547
|
}
|
|
543
548
|
},
|
|
544
549
|
"DefaultPolicy": {
|
|
@@ -592,19 +597,19 @@
|
|
|
592
597
|
},
|
|
593
598
|
"constructInfo": {
|
|
594
599
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
595
|
-
"version": "2.
|
|
600
|
+
"version": "2.147.3"
|
|
596
601
|
}
|
|
597
602
|
}
|
|
598
603
|
},
|
|
599
604
|
"constructInfo": {
|
|
600
605
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
601
|
-
"version": "2.
|
|
606
|
+
"version": "2.147.3"
|
|
602
607
|
}
|
|
603
608
|
}
|
|
604
609
|
},
|
|
605
610
|
"constructInfo": {
|
|
606
611
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
607
|
-
"version": "2.
|
|
612
|
+
"version": "2.147.3"
|
|
608
613
|
}
|
|
609
614
|
},
|
|
610
615
|
"Code": {
|
|
@@ -616,7 +621,7 @@
|
|
|
616
621
|
"path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/Stage",
|
|
617
622
|
"constructInfo": {
|
|
618
623
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
619
|
-
"version": "2.
|
|
624
|
+
"version": "2.147.3"
|
|
620
625
|
}
|
|
621
626
|
},
|
|
622
627
|
"AssetBucket": {
|
|
@@ -624,13 +629,13 @@
|
|
|
624
629
|
"path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/AssetBucket",
|
|
625
630
|
"constructInfo": {
|
|
626
631
|
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
627
|
-
"version": "2.
|
|
632
|
+
"version": "2.147.3"
|
|
628
633
|
}
|
|
629
634
|
}
|
|
630
635
|
},
|
|
631
636
|
"constructInfo": {
|
|
632
637
|
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
633
|
-
"version": "2.
|
|
638
|
+
"version": "2.147.3"
|
|
634
639
|
}
|
|
635
640
|
},
|
|
636
641
|
"Resource": {
|
|
@@ -663,25 +668,41 @@
|
|
|
663
668
|
"Arn"
|
|
664
669
|
]
|
|
665
670
|
},
|
|
666
|
-
"runtime":
|
|
671
|
+
"runtime": {
|
|
672
|
+
"Fn::FindInMap": [
|
|
673
|
+
"LatestNodeRuntimeMap",
|
|
674
|
+
{
|
|
675
|
+
"Ref": "AWS::Region"
|
|
676
|
+
},
|
|
677
|
+
"value"
|
|
678
|
+
]
|
|
679
|
+
},
|
|
667
680
|
"timeout": 900
|
|
668
681
|
}
|
|
669
682
|
},
|
|
670
683
|
"constructInfo": {
|
|
671
684
|
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
672
|
-
"version": "2.
|
|
685
|
+
"version": "2.147.3"
|
|
673
686
|
}
|
|
674
687
|
}
|
|
675
688
|
},
|
|
676
689
|
"constructInfo": {
|
|
677
690
|
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
678
|
-
"version": "2.
|
|
691
|
+
"version": "2.147.3"
|
|
679
692
|
}
|
|
680
693
|
}
|
|
681
694
|
},
|
|
682
695
|
"constructInfo": {
|
|
683
696
|
"fqn": "aws-cdk-lib.custom_resources.Provider",
|
|
684
|
-
"version": "2.
|
|
697
|
+
"version": "2.147.3"
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
"LatestNodeRuntimeMap": {
|
|
701
|
+
"id": "LatestNodeRuntimeMap",
|
|
702
|
+
"path": "key-policy-updater/LatestNodeRuntimeMap",
|
|
703
|
+
"constructInfo": {
|
|
704
|
+
"fqn": "aws-cdk-lib.CfnMapping",
|
|
705
|
+
"version": "2.147.3"
|
|
685
706
|
}
|
|
686
707
|
},
|
|
687
708
|
"KmsKeyPolicyUpdater": {
|
|
@@ -693,13 +714,13 @@
|
|
|
693
714
|
"path": "key-policy-updater/KmsKeyPolicyUpdater/Default",
|
|
694
715
|
"constructInfo": {
|
|
695
716
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
696
|
-
"version": "2.
|
|
717
|
+
"version": "2.147.3"
|
|
697
718
|
}
|
|
698
719
|
}
|
|
699
720
|
},
|
|
700
721
|
"constructInfo": {
|
|
701
722
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
702
|
-
"version": "2.
|
|
723
|
+
"version": "2.147.3"
|
|
703
724
|
}
|
|
704
725
|
},
|
|
705
726
|
"Integ": {
|
|
@@ -727,7 +748,7 @@
|
|
|
727
748
|
"path": "key-policy-updater/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
728
749
|
"constructInfo": {
|
|
729
750
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
730
|
-
"version": "2.
|
|
751
|
+
"version": "2.147.3"
|
|
731
752
|
}
|
|
732
753
|
},
|
|
733
754
|
"CheckBootstrapVersion": {
|
|
@@ -735,25 +756,25 @@
|
|
|
735
756
|
"path": "key-policy-updater/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
736
757
|
"constructInfo": {
|
|
737
758
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
738
|
-
"version": "2.
|
|
759
|
+
"version": "2.147.3"
|
|
739
760
|
}
|
|
740
761
|
}
|
|
741
762
|
},
|
|
742
763
|
"constructInfo": {
|
|
743
764
|
"fqn": "aws-cdk-lib.Stack",
|
|
744
|
-
"version": "2.
|
|
765
|
+
"version": "2.147.3"
|
|
745
766
|
}
|
|
746
767
|
}
|
|
747
768
|
},
|
|
748
769
|
"constructInfo": {
|
|
749
770
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
750
|
-
"version": "2.
|
|
771
|
+
"version": "2.147.3-alpha.0"
|
|
751
772
|
}
|
|
752
773
|
}
|
|
753
774
|
},
|
|
754
775
|
"constructInfo": {
|
|
755
776
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
756
|
-
"version": "2.
|
|
777
|
+
"version": "2.147.3-alpha.0"
|
|
757
778
|
}
|
|
758
779
|
},
|
|
759
780
|
"BootstrapVersion": {
|
|
@@ -761,7 +782,7 @@
|
|
|
761
782
|
"path": "key-policy-updater/BootstrapVersion",
|
|
762
783
|
"constructInfo": {
|
|
763
784
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
764
|
-
"version": "2.
|
|
785
|
+
"version": "2.147.3"
|
|
765
786
|
}
|
|
766
787
|
},
|
|
767
788
|
"CheckBootstrapVersion": {
|
|
@@ -769,13 +790,13 @@
|
|
|
769
790
|
"path": "key-policy-updater/CheckBootstrapVersion",
|
|
770
791
|
"constructInfo": {
|
|
771
792
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
772
|
-
"version": "2.
|
|
793
|
+
"version": "2.147.3"
|
|
773
794
|
}
|
|
774
795
|
}
|
|
775
796
|
},
|
|
776
797
|
"constructInfo": {
|
|
777
798
|
"fqn": "aws-cdk-lib.Stack",
|
|
778
|
-
"version": "2.
|
|
799
|
+
"version": "2.147.3"
|
|
779
800
|
}
|
|
780
801
|
},
|
|
781
802
|
"Tree": {
|
|
@@ -789,7 +810,7 @@
|
|
|
789
810
|
},
|
|
790
811
|
"constructInfo": {
|
|
791
812
|
"fqn": "aws-cdk-lib.App",
|
|
792
|
-
"version": "2.
|
|
813
|
+
"version": "2.147.3"
|
|
793
814
|
}
|
|
794
815
|
}
|
|
795
816
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"validateOnSynth": false,
|
|
67
67
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
68
68
|
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
69
|
-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/
|
|
69
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/bbc26051b499cb1d06bdf02dc0f0acd036f5577bb6e2f3a2dea1262ced2c6e20.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -124,6 +124,12 @@
|
|
|
124
124
|
"data": "TestTemplateWriterProviderframeworkonEvent7FDD3553"
|
|
125
125
|
}
|
|
126
126
|
],
|
|
127
|
+
"/template-writer-from-asset/LatestNodeRuntimeMap": [
|
|
128
|
+
{
|
|
129
|
+
"type": "aws:cdk:logicalId",
|
|
130
|
+
"data": "LatestNodeRuntimeMap"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
127
133
|
"/template-writer-from-asset/TestTemplateWriterCustomResource/Default": [
|
|
128
134
|
{
|
|
129
135
|
"type": "aws:cdk:logicalId",
|
|
@@ -141,24 +147,6 @@
|
|
|
141
147
|
"type": "aws:cdk:logicalId",
|
|
142
148
|
"data": "CheckBootstrapVersion"
|
|
143
149
|
}
|
|
144
|
-
],
|
|
145
|
-
"TestTemplateWriterLambdaRole192FE23A": [
|
|
146
|
-
{
|
|
147
|
-
"type": "aws:cdk:logicalId",
|
|
148
|
-
"data": "TestTemplateWriterLambdaRole192FE23A",
|
|
149
|
-
"trace": [
|
|
150
|
-
"!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
"TestTemplateWriterLambdaRoleDefaultPolicyBCFD88FC": [
|
|
155
|
-
{
|
|
156
|
-
"type": "aws:cdk:logicalId",
|
|
157
|
-
"data": "TestTemplateWriterLambdaRoleDefaultPolicyBCFD88FC",
|
|
158
|
-
"trace": [
|
|
159
|
-
"!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
150
|
]
|
|
163
151
|
},
|
|
164
152
|
"displayName": "template-writer-from-asset"
|
package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
"
|
|
56
|
+
"bbc26051b499cb1d06bdf02dc0f0acd036f5577bb6e2f3a2dea1262ced2c6e20": {
|
|
57
57
|
"source": {
|
|
58
58
|
"path": "template-writer-from-asset.template.json",
|
|
59
59
|
"packaging": "file"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"destinations": {
|
|
62
62
|
"current_account-current_region": {
|
|
63
63
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
64
|
-
"objectKey": "
|
|
64
|
+
"objectKey": "bbc26051b499cb1d06bdf02dc0f0acd036f5577bb6e2f3a2dea1262ced2c6e20.json",
|
|
65
65
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
66
66
|
}
|
|
67
67
|
}
|
package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json
CHANGED
|
@@ -99,6 +99,11 @@
|
|
|
99
99
|
},
|
|
100
100
|
"S3Key": "b1223f33e5124fdec3dc7988012c02ed49e285da9c1b8bcd2ce2d2c7c5d09ee7.zip"
|
|
101
101
|
},
|
|
102
|
+
"Environment": {
|
|
103
|
+
"Variables": {
|
|
104
|
+
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
102
107
|
"Handler": "index.handler",
|
|
103
108
|
"Role": {
|
|
104
109
|
"Fn::GetAtt": [
|
|
@@ -106,7 +111,7 @@
|
|
|
106
111
|
"Arn"
|
|
107
112
|
]
|
|
108
113
|
},
|
|
109
|
-
"Runtime": "
|
|
114
|
+
"Runtime": "nodejs20.x",
|
|
110
115
|
"TracingConfig": {
|
|
111
116
|
"Mode": "Active"
|
|
112
117
|
}
|
|
@@ -290,7 +295,15 @@
|
|
|
290
295
|
"Arn"
|
|
291
296
|
]
|
|
292
297
|
},
|
|
293
|
-
"Runtime":
|
|
298
|
+
"Runtime": {
|
|
299
|
+
"Fn::FindInMap": [
|
|
300
|
+
"LatestNodeRuntimeMap",
|
|
301
|
+
{
|
|
302
|
+
"Ref": "AWS::Region"
|
|
303
|
+
},
|
|
304
|
+
"value"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
294
307
|
"Timeout": 900
|
|
295
308
|
},
|
|
296
309
|
"DependsOn": [
|
|
@@ -334,10 +347,122 @@
|
|
|
334
347
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
335
348
|
}
|
|
336
349
|
},
|
|
350
|
+
"DependsOn": [
|
|
351
|
+
"TestTemplateWriterPolicy8177DE02"
|
|
352
|
+
],
|
|
337
353
|
"UpdateReplacePolicy": "Delete",
|
|
338
354
|
"DeletionPolicy": "Delete"
|
|
339
355
|
}
|
|
340
356
|
},
|
|
357
|
+
"Mappings": {
|
|
358
|
+
"LatestNodeRuntimeMap": {
|
|
359
|
+
"af-south-1": {
|
|
360
|
+
"value": "nodejs20.x"
|
|
361
|
+
},
|
|
362
|
+
"ap-east-1": {
|
|
363
|
+
"value": "nodejs20.x"
|
|
364
|
+
},
|
|
365
|
+
"ap-northeast-1": {
|
|
366
|
+
"value": "nodejs20.x"
|
|
367
|
+
},
|
|
368
|
+
"ap-northeast-2": {
|
|
369
|
+
"value": "nodejs20.x"
|
|
370
|
+
},
|
|
371
|
+
"ap-northeast-3": {
|
|
372
|
+
"value": "nodejs20.x"
|
|
373
|
+
},
|
|
374
|
+
"ap-south-1": {
|
|
375
|
+
"value": "nodejs20.x"
|
|
376
|
+
},
|
|
377
|
+
"ap-south-2": {
|
|
378
|
+
"value": "nodejs20.x"
|
|
379
|
+
},
|
|
380
|
+
"ap-southeast-1": {
|
|
381
|
+
"value": "nodejs20.x"
|
|
382
|
+
},
|
|
383
|
+
"ap-southeast-2": {
|
|
384
|
+
"value": "nodejs20.x"
|
|
385
|
+
},
|
|
386
|
+
"ap-southeast-3": {
|
|
387
|
+
"value": "nodejs20.x"
|
|
388
|
+
},
|
|
389
|
+
"ap-southeast-4": {
|
|
390
|
+
"value": "nodejs20.x"
|
|
391
|
+
},
|
|
392
|
+
"ca-central-1": {
|
|
393
|
+
"value": "nodejs20.x"
|
|
394
|
+
},
|
|
395
|
+
"cn-north-1": {
|
|
396
|
+
"value": "nodejs18.x"
|
|
397
|
+
},
|
|
398
|
+
"cn-northwest-1": {
|
|
399
|
+
"value": "nodejs18.x"
|
|
400
|
+
},
|
|
401
|
+
"eu-central-1": {
|
|
402
|
+
"value": "nodejs20.x"
|
|
403
|
+
},
|
|
404
|
+
"eu-central-2": {
|
|
405
|
+
"value": "nodejs20.x"
|
|
406
|
+
},
|
|
407
|
+
"eu-north-1": {
|
|
408
|
+
"value": "nodejs20.x"
|
|
409
|
+
},
|
|
410
|
+
"eu-south-1": {
|
|
411
|
+
"value": "nodejs20.x"
|
|
412
|
+
},
|
|
413
|
+
"eu-south-2": {
|
|
414
|
+
"value": "nodejs20.x"
|
|
415
|
+
},
|
|
416
|
+
"eu-west-1": {
|
|
417
|
+
"value": "nodejs20.x"
|
|
418
|
+
},
|
|
419
|
+
"eu-west-2": {
|
|
420
|
+
"value": "nodejs20.x"
|
|
421
|
+
},
|
|
422
|
+
"eu-west-3": {
|
|
423
|
+
"value": "nodejs20.x"
|
|
424
|
+
},
|
|
425
|
+
"il-central-1": {
|
|
426
|
+
"value": "nodejs20.x"
|
|
427
|
+
},
|
|
428
|
+
"me-central-1": {
|
|
429
|
+
"value": "nodejs20.x"
|
|
430
|
+
},
|
|
431
|
+
"me-south-1": {
|
|
432
|
+
"value": "nodejs20.x"
|
|
433
|
+
},
|
|
434
|
+
"sa-east-1": {
|
|
435
|
+
"value": "nodejs20.x"
|
|
436
|
+
},
|
|
437
|
+
"us-east-1": {
|
|
438
|
+
"value": "nodejs20.x"
|
|
439
|
+
},
|
|
440
|
+
"us-east-2": {
|
|
441
|
+
"value": "nodejs20.x"
|
|
442
|
+
},
|
|
443
|
+
"us-gov-east-1": {
|
|
444
|
+
"value": "nodejs18.x"
|
|
445
|
+
},
|
|
446
|
+
"us-gov-west-1": {
|
|
447
|
+
"value": "nodejs18.x"
|
|
448
|
+
},
|
|
449
|
+
"us-iso-east-1": {
|
|
450
|
+
"value": "nodejs18.x"
|
|
451
|
+
},
|
|
452
|
+
"us-iso-west-1": {
|
|
453
|
+
"value": "nodejs18.x"
|
|
454
|
+
},
|
|
455
|
+
"us-isob-east-1": {
|
|
456
|
+
"value": "nodejs18.x"
|
|
457
|
+
},
|
|
458
|
+
"us-west-1": {
|
|
459
|
+
"value": "nodejs20.x"
|
|
460
|
+
},
|
|
461
|
+
"us-west-2": {
|
|
462
|
+
"value": "nodejs20.x"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
341
466
|
"Parameters": {
|
|
342
467
|
"BootstrapVersion": {
|
|
343
468
|
"Type": "AWS::SSM::Parameter::Value<String>",
|