@aws-solutions-constructs/aws-kinesisfirehose-s3 2.60.0 → 2.61.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 +19 -6
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.assets.json +5 -5
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.template.json +119 -2
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/manifest.json +7 -1
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/tree.json +45 -37
- package/test/integ.fhss3-no-arguments.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.assets.json +5 -5
- package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.template.json +119 -2
- package/test/integ.fhss3-no-arguments.js.snapshot/manifest.json +7 -1
- package/test/integ.fhss3-no-arguments.js.snapshot/tree.json +47 -39
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.assets.json +5 -5
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.template.json +119 -2
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/manifest.json +7 -1
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/tree.json +48 -40
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.assets.json +5 -5
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.template.json +119 -2
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/manifest.json +7 -1
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/tree.json +53 -45
- package/test/integ.fhss3-two-instances.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.assets.json +5 -5
- package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.template.json +119 -2
- package/test/integ.fhss3-two-instances.js.snapshot/manifest.json +7 -1
- package/test/integ.fhss3-two-instances.js.snapshot/tree.json +71 -63
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
- package/test/integ.fhss3-no-arguments.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
- package/test/integ.fhss3-two-instances.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
|
@@ -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}/12cf056a1a0fd389bd693e760c7937db96ba8c1b400c022ca619b18e26231ff8.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -100,6 +100,12 @@
|
|
|
100
100
|
"data": "scrapBucketLogAutoDeleteObjectsCustomResource307F3D47"
|
|
101
101
|
}
|
|
102
102
|
],
|
|
103
|
+
"/fhss3-pre-existing-logging-bucket/LatestNodeRuntimeMap": [
|
|
104
|
+
{
|
|
105
|
+
"type": "aws:cdk:logicalId",
|
|
106
|
+
"data": "LatestNodeRuntimeMap"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
103
109
|
"/fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role": [
|
|
104
110
|
{
|
|
105
111
|
"type": "aws:cdk:logicalId",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"constructInfo": {
|
|
42
42
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
43
|
-
"version": "2.
|
|
43
|
+
"version": "2.147.3"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"Policy": {
|
|
@@ -174,13 +174,13 @@
|
|
|
174
174
|
},
|
|
175
175
|
"constructInfo": {
|
|
176
176
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
177
|
-
"version": "2.
|
|
177
|
+
"version": "2.147.3"
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
"constructInfo": {
|
|
182
182
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
183
|
-
"version": "2.
|
|
183
|
+
"version": "2.147.3"
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -192,19 +192,27 @@
|
|
|
192
192
|
"path": "fhss3-pre-existing-logging-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource/Default",
|
|
193
193
|
"constructInfo": {
|
|
194
194
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
195
|
-
"version": "2.
|
|
195
|
+
"version": "2.147.3"
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
"constructInfo": {
|
|
200
200
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
201
|
-
"version": "2.
|
|
201
|
+
"version": "2.147.3"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
"constructInfo": {
|
|
206
206
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
207
|
-
"version": "2.
|
|
207
|
+
"version": "2.147.3"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"LatestNodeRuntimeMap": {
|
|
211
|
+
"id": "LatestNodeRuntimeMap",
|
|
212
|
+
"path": "fhss3-pre-existing-logging-bucket/LatestNodeRuntimeMap",
|
|
213
|
+
"constructInfo": {
|
|
214
|
+
"fqn": "aws-cdk-lib.CfnMapping",
|
|
215
|
+
"version": "2.147.3"
|
|
208
216
|
}
|
|
209
217
|
},
|
|
210
218
|
"Custom::S3AutoDeleteObjectsCustomResourceProvider": {
|
|
@@ -216,7 +224,7 @@
|
|
|
216
224
|
"path": "fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
|
|
217
225
|
"constructInfo": {
|
|
218
226
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
219
|
-
"version": "2.
|
|
227
|
+
"version": "2.147.3"
|
|
220
228
|
}
|
|
221
229
|
},
|
|
222
230
|
"Role": {
|
|
@@ -224,7 +232,7 @@
|
|
|
224
232
|
"path": "fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
|
|
225
233
|
"constructInfo": {
|
|
226
234
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
227
|
-
"version": "2.
|
|
235
|
+
"version": "2.147.3"
|
|
228
236
|
}
|
|
229
237
|
},
|
|
230
238
|
"Handler": {
|
|
@@ -232,13 +240,13 @@
|
|
|
232
240
|
"path": "fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
|
|
233
241
|
"constructInfo": {
|
|
234
242
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
235
|
-
"version": "2.
|
|
243
|
+
"version": "2.147.3"
|
|
236
244
|
}
|
|
237
245
|
}
|
|
238
246
|
},
|
|
239
247
|
"constructInfo": {
|
|
240
248
|
"fqn": "aws-cdk-lib.CustomResourceProviderBase",
|
|
241
|
-
"version": "2.
|
|
249
|
+
"version": "2.147.3"
|
|
242
250
|
}
|
|
243
251
|
},
|
|
244
252
|
"scrapBucket": {
|
|
@@ -278,7 +286,7 @@
|
|
|
278
286
|
},
|
|
279
287
|
"constructInfo": {
|
|
280
288
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
281
|
-
"version": "2.
|
|
289
|
+
"version": "2.147.3"
|
|
282
290
|
}
|
|
283
291
|
},
|
|
284
292
|
"Policy": {
|
|
@@ -412,13 +420,13 @@
|
|
|
412
420
|
},
|
|
413
421
|
"constructInfo": {
|
|
414
422
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
415
|
-
"version": "2.
|
|
423
|
+
"version": "2.147.3"
|
|
416
424
|
}
|
|
417
425
|
}
|
|
418
426
|
},
|
|
419
427
|
"constructInfo": {
|
|
420
428
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
421
|
-
"version": "2.
|
|
429
|
+
"version": "2.147.3"
|
|
422
430
|
}
|
|
423
431
|
},
|
|
424
432
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -430,19 +438,19 @@
|
|
|
430
438
|
"path": "fhss3-pre-existing-logging-bucket/scrapBucket/AutoDeleteObjectsCustomResource/Default",
|
|
431
439
|
"constructInfo": {
|
|
432
440
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
433
|
-
"version": "2.
|
|
441
|
+
"version": "2.147.3"
|
|
434
442
|
}
|
|
435
443
|
}
|
|
436
444
|
},
|
|
437
445
|
"constructInfo": {
|
|
438
446
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
439
|
-
"version": "2.
|
|
447
|
+
"version": "2.147.3"
|
|
440
448
|
}
|
|
441
449
|
}
|
|
442
450
|
},
|
|
443
451
|
"constructInfo": {
|
|
444
452
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
445
|
-
"version": "2.
|
|
453
|
+
"version": "2.147.3"
|
|
446
454
|
}
|
|
447
455
|
},
|
|
448
456
|
"test-firehose-s3-pre-existing-logging-bucket-stack": {
|
|
@@ -505,7 +513,7 @@
|
|
|
505
513
|
},
|
|
506
514
|
"constructInfo": {
|
|
507
515
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
508
|
-
"version": "2.
|
|
516
|
+
"version": "2.147.3"
|
|
509
517
|
}
|
|
510
518
|
},
|
|
511
519
|
"Policy": {
|
|
@@ -603,13 +611,13 @@
|
|
|
603
611
|
},
|
|
604
612
|
"constructInfo": {
|
|
605
613
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
606
|
-
"version": "2.
|
|
614
|
+
"version": "2.147.3"
|
|
607
615
|
}
|
|
608
616
|
}
|
|
609
617
|
},
|
|
610
618
|
"constructInfo": {
|
|
611
619
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
612
|
-
"version": "2.
|
|
620
|
+
"version": "2.147.3"
|
|
613
621
|
}
|
|
614
622
|
},
|
|
615
623
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -621,19 +629,19 @@
|
|
|
621
629
|
"path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/S3Bucket/AutoDeleteObjectsCustomResource/Default",
|
|
622
630
|
"constructInfo": {
|
|
623
631
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
624
|
-
"version": "2.
|
|
632
|
+
"version": "2.147.3"
|
|
625
633
|
}
|
|
626
634
|
}
|
|
627
635
|
},
|
|
628
636
|
"constructInfo": {
|
|
629
637
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
630
|
-
"version": "2.
|
|
638
|
+
"version": "2.147.3"
|
|
631
639
|
}
|
|
632
640
|
}
|
|
633
641
|
},
|
|
634
642
|
"constructInfo": {
|
|
635
643
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
636
|
-
"version": "2.
|
|
644
|
+
"version": "2.147.3"
|
|
637
645
|
}
|
|
638
646
|
},
|
|
639
647
|
"firehose-log-group": {
|
|
@@ -649,7 +657,7 @@
|
|
|
649
657
|
},
|
|
650
658
|
"constructInfo": {
|
|
651
659
|
"fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
|
|
652
|
-
"version": "2.
|
|
660
|
+
"version": "2.147.3"
|
|
653
661
|
}
|
|
654
662
|
},
|
|
655
663
|
"firehose-log-stream": {
|
|
@@ -669,19 +677,19 @@
|
|
|
669
677
|
},
|
|
670
678
|
"constructInfo": {
|
|
671
679
|
"fqn": "aws-cdk-lib.aws_logs.CfnLogStream",
|
|
672
|
-
"version": "2.
|
|
680
|
+
"version": "2.147.3"
|
|
673
681
|
}
|
|
674
682
|
}
|
|
675
683
|
},
|
|
676
684
|
"constructInfo": {
|
|
677
685
|
"fqn": "aws-cdk-lib.aws_logs.LogStream",
|
|
678
|
-
"version": "2.
|
|
686
|
+
"version": "2.147.3"
|
|
679
687
|
}
|
|
680
688
|
}
|
|
681
689
|
},
|
|
682
690
|
"constructInfo": {
|
|
683
691
|
"fqn": "aws-cdk-lib.aws_logs.LogGroup",
|
|
684
|
-
"version": "2.
|
|
692
|
+
"version": "2.147.3"
|
|
685
693
|
}
|
|
686
694
|
},
|
|
687
695
|
"KinesisFirehoseRole": {
|
|
@@ -693,7 +701,7 @@
|
|
|
693
701
|
"path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/KinesisFirehoseRole/ImportKinesisFirehoseRole",
|
|
694
702
|
"constructInfo": {
|
|
695
703
|
"fqn": "aws-cdk-lib.Resource",
|
|
696
|
-
"version": "2.
|
|
704
|
+
"version": "2.147.3"
|
|
697
705
|
}
|
|
698
706
|
},
|
|
699
707
|
"Resource": {
|
|
@@ -718,13 +726,13 @@
|
|
|
718
726
|
},
|
|
719
727
|
"constructInfo": {
|
|
720
728
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
721
|
-
"version": "2.
|
|
729
|
+
"version": "2.147.3"
|
|
722
730
|
}
|
|
723
731
|
}
|
|
724
732
|
},
|
|
725
733
|
"constructInfo": {
|
|
726
734
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
727
|
-
"version": "2.
|
|
735
|
+
"version": "2.147.3"
|
|
728
736
|
}
|
|
729
737
|
},
|
|
730
738
|
"KinesisFirehosePolicy": {
|
|
@@ -816,13 +824,13 @@
|
|
|
816
824
|
},
|
|
817
825
|
"constructInfo": {
|
|
818
826
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
819
|
-
"version": "2.
|
|
827
|
+
"version": "2.147.3"
|
|
820
828
|
}
|
|
821
829
|
}
|
|
822
830
|
},
|
|
823
831
|
"constructInfo": {
|
|
824
832
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
825
|
-
"version": "2.
|
|
833
|
+
"version": "2.147.3"
|
|
826
834
|
}
|
|
827
835
|
},
|
|
828
836
|
"KinesisFirehose": {
|
|
@@ -891,13 +899,13 @@
|
|
|
891
899
|
},
|
|
892
900
|
"constructInfo": {
|
|
893
901
|
"fqn": "aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream",
|
|
894
|
-
"version": "2.
|
|
902
|
+
"version": "2.147.3"
|
|
895
903
|
}
|
|
896
904
|
}
|
|
897
905
|
},
|
|
898
906
|
"constructInfo": {
|
|
899
907
|
"fqn": "@aws-solutions-constructs/aws-kinesisfirehose-s3.KinesisFirehoseToS3",
|
|
900
|
-
"version": "2.
|
|
908
|
+
"version": "2.60.0"
|
|
901
909
|
}
|
|
902
910
|
},
|
|
903
911
|
"test-firehose-s3-pre-existing-logging-bucket-stackaws-managed-key": {
|
|
@@ -905,7 +913,7 @@
|
|
|
905
913
|
"path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stackaws-managed-key",
|
|
906
914
|
"constructInfo": {
|
|
907
915
|
"fqn": "aws-cdk-lib.Resource",
|
|
908
|
-
"version": "2.
|
|
916
|
+
"version": "2.147.3"
|
|
909
917
|
}
|
|
910
918
|
},
|
|
911
919
|
"Integ": {
|
|
@@ -921,7 +929,7 @@
|
|
|
921
929
|
"path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest/Default",
|
|
922
930
|
"constructInfo": {
|
|
923
931
|
"fqn": "constructs.Construct",
|
|
924
|
-
"version": "10.
|
|
932
|
+
"version": "10.3.0"
|
|
925
933
|
}
|
|
926
934
|
},
|
|
927
935
|
"DeployAssert": {
|
|
@@ -933,7 +941,7 @@
|
|
|
933
941
|
"path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
934
942
|
"constructInfo": {
|
|
935
943
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
936
|
-
"version": "2.
|
|
944
|
+
"version": "2.147.3"
|
|
937
945
|
}
|
|
938
946
|
},
|
|
939
947
|
"CheckBootstrapVersion": {
|
|
@@ -941,25 +949,25 @@
|
|
|
941
949
|
"path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
942
950
|
"constructInfo": {
|
|
943
951
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
944
|
-
"version": "2.
|
|
952
|
+
"version": "2.147.3"
|
|
945
953
|
}
|
|
946
954
|
}
|
|
947
955
|
},
|
|
948
956
|
"constructInfo": {
|
|
949
957
|
"fqn": "aws-cdk-lib.Stack",
|
|
950
|
-
"version": "2.
|
|
958
|
+
"version": "2.147.3"
|
|
951
959
|
}
|
|
952
960
|
}
|
|
953
961
|
},
|
|
954
962
|
"constructInfo": {
|
|
955
963
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
956
|
-
"version": "2.
|
|
964
|
+
"version": "2.147.3-alpha.0"
|
|
957
965
|
}
|
|
958
966
|
}
|
|
959
967
|
},
|
|
960
968
|
"constructInfo": {
|
|
961
969
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
962
|
-
"version": "2.
|
|
970
|
+
"version": "2.147.3-alpha.0"
|
|
963
971
|
}
|
|
964
972
|
},
|
|
965
973
|
"BootstrapVersion": {
|
|
@@ -967,7 +975,7 @@
|
|
|
967
975
|
"path": "fhss3-pre-existing-logging-bucket/BootstrapVersion",
|
|
968
976
|
"constructInfo": {
|
|
969
977
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
970
|
-
"version": "2.
|
|
978
|
+
"version": "2.147.3"
|
|
971
979
|
}
|
|
972
980
|
},
|
|
973
981
|
"CheckBootstrapVersion": {
|
|
@@ -975,13 +983,13 @@
|
|
|
975
983
|
"path": "fhss3-pre-existing-logging-bucket/CheckBootstrapVersion",
|
|
976
984
|
"constructInfo": {
|
|
977
985
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
978
|
-
"version": "2.
|
|
986
|
+
"version": "2.147.3"
|
|
979
987
|
}
|
|
980
988
|
}
|
|
981
989
|
},
|
|
982
990
|
"constructInfo": {
|
|
983
991
|
"fqn": "aws-cdk-lib.Stack",
|
|
984
|
-
"version": "2.
|
|
992
|
+
"version": "2.147.3"
|
|
985
993
|
}
|
|
986
994
|
},
|
|
987
995
|
"Tree": {
|
|
@@ -989,13 +997,13 @@
|
|
|
989
997
|
"path": "Tree",
|
|
990
998
|
"constructInfo": {
|
|
991
999
|
"fqn": "constructs.Construct",
|
|
992
|
-
"version": "10.
|
|
1000
|
+
"version": "10.3.0"
|
|
993
1001
|
}
|
|
994
1002
|
}
|
|
995
1003
|
},
|
|
996
1004
|
"constructInfo": {
|
|
997
1005
|
"fqn": "aws-cdk-lib.App",
|
|
998
|
-
"version": "2.
|
|
1006
|
+
"version": "2.147.3"
|
|
999
1007
|
}
|
|
1000
1008
|
}
|
|
1001
1009
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var f=Object.create,i=Object.defineProperty,I=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,w=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty,A=(t,e)=>{for(var o in e)i(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of C(e))!P.call(t,s)&&s!==o&&i(t,s,{get:()=>e[s],enumerable:!(r=I(e,s))||r.enumerable});return t},l=(t,e,o)=>(o=t!=null?f(w(t)):{},d(e||!t||!t.__esModule?i(o,"default",{value:t,enumerable:!0}):o,t)),B=t=>d(i({},"__esModule",{value:!0}),t),q={};A(q,{autoDeleteHandler:()=>S,handler:()=>H}),module.exports=B(q);var h=require("@aws-sdk/client-s3"),y=l(require("https")),m=l(require("url")),a={sendHttpRequest:D,log:T,includeStackTraces:!0,userHandlerIndex:"./index"},p="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",L="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";function R(t){return async(e,o)=>{let r={...e,ResponseURL:"..."};if(a.log(JSON.stringify(r,void 0,2)),e.RequestType==="Delete"&&e.PhysicalResourceId===p){a.log("ignoring DELETE event caused by a failed CREATE event"),await u("SUCCESS",e);return}try{let s=await t(r,o),n=k(e,s);await u("SUCCESS",n)}catch(s){let n={...e,Reason:a.includeStackTraces?s.stack:s.message};n.PhysicalResourceId||(e.RequestType==="Create"?(a.log("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),n.PhysicalResourceId=p):a.log(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify(e)}`)),await u("FAILED",n)}}}function k(t,e={}){let o=e.PhysicalResourceId??t.PhysicalResourceId??t.RequestId;if(t.RequestType==="Delete"&&o!==t.PhysicalResourceId)throw new Error(`DELETE: cannot change the physical resource ID from "${t.PhysicalResourceId}" to "${e.PhysicalResourceId}" during deletion`);return{...t,...e,PhysicalResourceId:o}}async function u(t,e){let o={Status:t,Reason:e.Reason??t,StackId:e.StackId,RequestId:e.RequestId,PhysicalResourceId:e.PhysicalResourceId||L,LogicalResourceId:e.LogicalResourceId,NoEcho:e.NoEcho,Data:e.Data},r=m.parse(e.ResponseURL),s=`${r.protocol}//${r.hostname}/${r.pathname}?***`;a.log("submit response to cloudformation",s,o);let n=JSON.stringify(o),E={hostname:r.hostname,path:r.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(n,"utf8")}};await O({attempts:5,sleep:1e3},a.sendHttpRequest)(E,n)}async function D(t,e){return new Promise((o,r)=>{try{let s=y.request(t,n=>{n.resume(),!n.statusCode||n.statusCode>=400?r(new Error(`Unsuccessful HTTP response: ${n.statusCode}`)):o()});s.on("error",r),s.write(e),s.end()}catch(s){r(s)}})}function T(t,...e){console.log(t,...e)}function O(t,e){return async(...o)=>{let r=t.attempts,s=t.sleep;for(;;)try{return await e(...o)}catch(n){if(r--<=0)throw n;await b(Math.floor(Math.random()*s)),s*=2}}}async function b(t){return new Promise(e=>setTimeout(e,t))}var g="aws-cdk:auto-delete-objects",x=JSON.stringify({Version:"2012-10-17",Statement:[]}),c=new h.S3({}),H=R(S);async function S(t){switch(t.RequestType){case"Create":return;case"Update":return{PhysicalResourceId:(await F(t)).PhysicalResourceId};case"Delete":return N(t.ResourceProperties?.BucketName)}}async function F(t){let e=t,o=e.OldResourceProperties?.BucketName;return{PhysicalResourceId:e.ResourceProperties?.BucketName??o}}async function _(t){try{let e=(await c.getBucketPolicy({Bucket:t}))?.Policy??x,o=JSON.parse(e);o.Statement.push({Principal:"*",Effect:"Deny",Action:["s3:PutObject"],Resource:[`arn:aws:s3:::${t}/*`]}),await c.putBucketPolicy({Bucket:t,Policy:JSON.stringify(o)})}catch(e){if(e.name==="NoSuchBucket")throw e;console.log(`Could not set new object deny policy on bucket '${t}' prior to deletion.`)}}async function U(t){let e;do{e=await c.listObjectVersions({Bucket:t});let o=[...e.Versions??[],...e.DeleteMarkers??[]];if(o.length===0)return;let r=o.map(s=>({Key:s.Key,VersionId:s.VersionId}));await c.deleteObjects({Bucket:t,Delete:{Objects:r}})}while(e?.IsTruncated)}async function N(t){if(!t)throw new Error("No BucketName was provided.");try{if(!await W(t)){console.log(`Bucket does not have '${g}' tag, skipping cleaning.`);return}await _(t),await U(t)}catch(e){if(e.name==="NoSuchBucket"){console.log(`Bucket '${t}' does not exist.`);return}throw e}}async function W(t){return(await c.getBucketTagging({Bucket:t})).TagSet?.some(o=>o.Key===g&&o.Value==="true")}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "36.0.0",
|
|
3
3
|
"files": {
|
|
4
|
-
"
|
|
4
|
+
"faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6": {
|
|
5
5
|
"source": {
|
|
6
|
-
"path": "asset.
|
|
6
|
+
"path": "asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6",
|
|
7
7
|
"packaging": "zip"
|
|
8
8
|
},
|
|
9
9
|
"destinations": {
|
|
10
10
|
"current_account-current_region": {
|
|
11
11
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
-
"objectKey": "
|
|
12
|
+
"objectKey": "faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6.zip",
|
|
13
13
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"
|
|
17
|
+
"07be8021ebfb1fce74e114737ded5c55d811bb9826ce292291486afa939f64ba": {
|
|
18
18
|
"source": {
|
|
19
19
|
"path": "fhss3-two-instances.template.json",
|
|
20
20
|
"packaging": "file"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"destinations": {
|
|
23
23
|
"current_account-current_region": {
|
|
24
24
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
25
|
-
"objectKey": "
|
|
25
|
+
"objectKey": "07be8021ebfb1fce74e114737ded5c55d811bb9826ce292291486afa939f64ba.json",
|
|
26
26
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
"S3Bucket": {
|
|
554
554
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
555
555
|
},
|
|
556
|
-
"S3Key": "
|
|
556
|
+
"S3Key": "faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6.zip"
|
|
557
557
|
},
|
|
558
558
|
"Timeout": 900,
|
|
559
559
|
"MemorySize": 128,
|
|
@@ -564,7 +564,15 @@
|
|
|
564
564
|
"Arn"
|
|
565
565
|
]
|
|
566
566
|
},
|
|
567
|
-
"Runtime":
|
|
567
|
+
"Runtime": {
|
|
568
|
+
"Fn::FindInMap": [
|
|
569
|
+
"LatestNodeRuntimeMap",
|
|
570
|
+
{
|
|
571
|
+
"Ref": "AWS::Region"
|
|
572
|
+
},
|
|
573
|
+
"value"
|
|
574
|
+
]
|
|
575
|
+
},
|
|
568
576
|
"Description": {
|
|
569
577
|
"Fn::Join": [
|
|
570
578
|
"",
|
|
@@ -1124,6 +1132,115 @@
|
|
|
1124
1132
|
}
|
|
1125
1133
|
}
|
|
1126
1134
|
},
|
|
1135
|
+
"Mappings": {
|
|
1136
|
+
"LatestNodeRuntimeMap": {
|
|
1137
|
+
"af-south-1": {
|
|
1138
|
+
"value": "nodejs20.x"
|
|
1139
|
+
},
|
|
1140
|
+
"ap-east-1": {
|
|
1141
|
+
"value": "nodejs20.x"
|
|
1142
|
+
},
|
|
1143
|
+
"ap-northeast-1": {
|
|
1144
|
+
"value": "nodejs20.x"
|
|
1145
|
+
},
|
|
1146
|
+
"ap-northeast-2": {
|
|
1147
|
+
"value": "nodejs20.x"
|
|
1148
|
+
},
|
|
1149
|
+
"ap-northeast-3": {
|
|
1150
|
+
"value": "nodejs20.x"
|
|
1151
|
+
},
|
|
1152
|
+
"ap-south-1": {
|
|
1153
|
+
"value": "nodejs20.x"
|
|
1154
|
+
},
|
|
1155
|
+
"ap-south-2": {
|
|
1156
|
+
"value": "nodejs20.x"
|
|
1157
|
+
},
|
|
1158
|
+
"ap-southeast-1": {
|
|
1159
|
+
"value": "nodejs20.x"
|
|
1160
|
+
},
|
|
1161
|
+
"ap-southeast-2": {
|
|
1162
|
+
"value": "nodejs20.x"
|
|
1163
|
+
},
|
|
1164
|
+
"ap-southeast-3": {
|
|
1165
|
+
"value": "nodejs20.x"
|
|
1166
|
+
},
|
|
1167
|
+
"ap-southeast-4": {
|
|
1168
|
+
"value": "nodejs20.x"
|
|
1169
|
+
},
|
|
1170
|
+
"ca-central-1": {
|
|
1171
|
+
"value": "nodejs20.x"
|
|
1172
|
+
},
|
|
1173
|
+
"cn-north-1": {
|
|
1174
|
+
"value": "nodejs18.x"
|
|
1175
|
+
},
|
|
1176
|
+
"cn-northwest-1": {
|
|
1177
|
+
"value": "nodejs18.x"
|
|
1178
|
+
},
|
|
1179
|
+
"eu-central-1": {
|
|
1180
|
+
"value": "nodejs20.x"
|
|
1181
|
+
},
|
|
1182
|
+
"eu-central-2": {
|
|
1183
|
+
"value": "nodejs20.x"
|
|
1184
|
+
},
|
|
1185
|
+
"eu-north-1": {
|
|
1186
|
+
"value": "nodejs20.x"
|
|
1187
|
+
},
|
|
1188
|
+
"eu-south-1": {
|
|
1189
|
+
"value": "nodejs20.x"
|
|
1190
|
+
},
|
|
1191
|
+
"eu-south-2": {
|
|
1192
|
+
"value": "nodejs20.x"
|
|
1193
|
+
},
|
|
1194
|
+
"eu-west-1": {
|
|
1195
|
+
"value": "nodejs20.x"
|
|
1196
|
+
},
|
|
1197
|
+
"eu-west-2": {
|
|
1198
|
+
"value": "nodejs20.x"
|
|
1199
|
+
},
|
|
1200
|
+
"eu-west-3": {
|
|
1201
|
+
"value": "nodejs20.x"
|
|
1202
|
+
},
|
|
1203
|
+
"il-central-1": {
|
|
1204
|
+
"value": "nodejs20.x"
|
|
1205
|
+
},
|
|
1206
|
+
"me-central-1": {
|
|
1207
|
+
"value": "nodejs20.x"
|
|
1208
|
+
},
|
|
1209
|
+
"me-south-1": {
|
|
1210
|
+
"value": "nodejs20.x"
|
|
1211
|
+
},
|
|
1212
|
+
"sa-east-1": {
|
|
1213
|
+
"value": "nodejs20.x"
|
|
1214
|
+
},
|
|
1215
|
+
"us-east-1": {
|
|
1216
|
+
"value": "nodejs20.x"
|
|
1217
|
+
},
|
|
1218
|
+
"us-east-2": {
|
|
1219
|
+
"value": "nodejs20.x"
|
|
1220
|
+
},
|
|
1221
|
+
"us-gov-east-1": {
|
|
1222
|
+
"value": "nodejs18.x"
|
|
1223
|
+
},
|
|
1224
|
+
"us-gov-west-1": {
|
|
1225
|
+
"value": "nodejs18.x"
|
|
1226
|
+
},
|
|
1227
|
+
"us-iso-east-1": {
|
|
1228
|
+
"value": "nodejs18.x"
|
|
1229
|
+
},
|
|
1230
|
+
"us-iso-west-1": {
|
|
1231
|
+
"value": "nodejs18.x"
|
|
1232
|
+
},
|
|
1233
|
+
"us-isob-east-1": {
|
|
1234
|
+
"value": "nodejs18.x"
|
|
1235
|
+
},
|
|
1236
|
+
"us-west-1": {
|
|
1237
|
+
"value": "nodejs20.x"
|
|
1238
|
+
},
|
|
1239
|
+
"us-west-2": {
|
|
1240
|
+
"value": "nodejs20.x"
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1127
1244
|
"Parameters": {
|
|
1128
1245
|
"BootstrapVersion": {
|
|
1129
1246
|
"Type": "AWS::SSM::Parameter::Value<String>",
|
|
@@ -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}/07be8021ebfb1fce74e114737ded5c55d811bb9826ce292291486afa939f64ba.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -148,6 +148,12 @@
|
|
|
148
148
|
"data": "firstconstructKinesisFirehoseE18EBAA6"
|
|
149
149
|
}
|
|
150
150
|
],
|
|
151
|
+
"/fhss3-two-instances/LatestNodeRuntimeMap": [
|
|
152
|
+
{
|
|
153
|
+
"type": "aws:cdk:logicalId",
|
|
154
|
+
"data": "LatestNodeRuntimeMap"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
151
157
|
"/fhss3-two-instances/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role": [
|
|
152
158
|
{
|
|
153
159
|
"type": "aws:cdk:logicalId",
|