@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
package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.template.json
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"S3Bucket": {
|
|
207
207
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
208
208
|
},
|
|
209
|
-
"S3Key": "
|
|
209
|
+
"S3Key": "faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6.zip"
|
|
210
210
|
},
|
|
211
211
|
"Timeout": 900,
|
|
212
212
|
"MemorySize": 128,
|
|
@@ -217,7 +217,15 @@
|
|
|
217
217
|
"Arn"
|
|
218
218
|
]
|
|
219
219
|
},
|
|
220
|
-
"Runtime":
|
|
220
|
+
"Runtime": {
|
|
221
|
+
"Fn::FindInMap": [
|
|
222
|
+
"LatestNodeRuntimeMap",
|
|
223
|
+
{
|
|
224
|
+
"Ref": "AWS::Region"
|
|
225
|
+
},
|
|
226
|
+
"value"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
221
229
|
"Description": {
|
|
222
230
|
"Fn::Join": [
|
|
223
231
|
"",
|
|
@@ -596,6 +604,115 @@
|
|
|
596
604
|
}
|
|
597
605
|
}
|
|
598
606
|
},
|
|
607
|
+
"Mappings": {
|
|
608
|
+
"LatestNodeRuntimeMap": {
|
|
609
|
+
"af-south-1": {
|
|
610
|
+
"value": "nodejs20.x"
|
|
611
|
+
},
|
|
612
|
+
"ap-east-1": {
|
|
613
|
+
"value": "nodejs20.x"
|
|
614
|
+
},
|
|
615
|
+
"ap-northeast-1": {
|
|
616
|
+
"value": "nodejs20.x"
|
|
617
|
+
},
|
|
618
|
+
"ap-northeast-2": {
|
|
619
|
+
"value": "nodejs20.x"
|
|
620
|
+
},
|
|
621
|
+
"ap-northeast-3": {
|
|
622
|
+
"value": "nodejs20.x"
|
|
623
|
+
},
|
|
624
|
+
"ap-south-1": {
|
|
625
|
+
"value": "nodejs20.x"
|
|
626
|
+
},
|
|
627
|
+
"ap-south-2": {
|
|
628
|
+
"value": "nodejs20.x"
|
|
629
|
+
},
|
|
630
|
+
"ap-southeast-1": {
|
|
631
|
+
"value": "nodejs20.x"
|
|
632
|
+
},
|
|
633
|
+
"ap-southeast-2": {
|
|
634
|
+
"value": "nodejs20.x"
|
|
635
|
+
},
|
|
636
|
+
"ap-southeast-3": {
|
|
637
|
+
"value": "nodejs20.x"
|
|
638
|
+
},
|
|
639
|
+
"ap-southeast-4": {
|
|
640
|
+
"value": "nodejs20.x"
|
|
641
|
+
},
|
|
642
|
+
"ca-central-1": {
|
|
643
|
+
"value": "nodejs20.x"
|
|
644
|
+
},
|
|
645
|
+
"cn-north-1": {
|
|
646
|
+
"value": "nodejs18.x"
|
|
647
|
+
},
|
|
648
|
+
"cn-northwest-1": {
|
|
649
|
+
"value": "nodejs18.x"
|
|
650
|
+
},
|
|
651
|
+
"eu-central-1": {
|
|
652
|
+
"value": "nodejs20.x"
|
|
653
|
+
},
|
|
654
|
+
"eu-central-2": {
|
|
655
|
+
"value": "nodejs20.x"
|
|
656
|
+
},
|
|
657
|
+
"eu-north-1": {
|
|
658
|
+
"value": "nodejs20.x"
|
|
659
|
+
},
|
|
660
|
+
"eu-south-1": {
|
|
661
|
+
"value": "nodejs20.x"
|
|
662
|
+
},
|
|
663
|
+
"eu-south-2": {
|
|
664
|
+
"value": "nodejs20.x"
|
|
665
|
+
},
|
|
666
|
+
"eu-west-1": {
|
|
667
|
+
"value": "nodejs20.x"
|
|
668
|
+
},
|
|
669
|
+
"eu-west-2": {
|
|
670
|
+
"value": "nodejs20.x"
|
|
671
|
+
},
|
|
672
|
+
"eu-west-3": {
|
|
673
|
+
"value": "nodejs20.x"
|
|
674
|
+
},
|
|
675
|
+
"il-central-1": {
|
|
676
|
+
"value": "nodejs20.x"
|
|
677
|
+
},
|
|
678
|
+
"me-central-1": {
|
|
679
|
+
"value": "nodejs20.x"
|
|
680
|
+
},
|
|
681
|
+
"me-south-1": {
|
|
682
|
+
"value": "nodejs20.x"
|
|
683
|
+
},
|
|
684
|
+
"sa-east-1": {
|
|
685
|
+
"value": "nodejs20.x"
|
|
686
|
+
},
|
|
687
|
+
"us-east-1": {
|
|
688
|
+
"value": "nodejs20.x"
|
|
689
|
+
},
|
|
690
|
+
"us-east-2": {
|
|
691
|
+
"value": "nodejs20.x"
|
|
692
|
+
},
|
|
693
|
+
"us-gov-east-1": {
|
|
694
|
+
"value": "nodejs18.x"
|
|
695
|
+
},
|
|
696
|
+
"us-gov-west-1": {
|
|
697
|
+
"value": "nodejs18.x"
|
|
698
|
+
},
|
|
699
|
+
"us-iso-east-1": {
|
|
700
|
+
"value": "nodejs18.x"
|
|
701
|
+
},
|
|
702
|
+
"us-iso-west-1": {
|
|
703
|
+
"value": "nodejs18.x"
|
|
704
|
+
},
|
|
705
|
+
"us-isob-east-1": {
|
|
706
|
+
"value": "nodejs18.x"
|
|
707
|
+
},
|
|
708
|
+
"us-west-1": {
|
|
709
|
+
"value": "nodejs20.x"
|
|
710
|
+
},
|
|
711
|
+
"us-west-2": {
|
|
712
|
+
"value": "nodejs20.x"
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
},
|
|
599
716
|
"Parameters": {
|
|
600
717
|
"BootstrapVersion": {
|
|
601
718
|
"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}/c857b22928a2a2242e8d634cd9794729ca1d2a5eb8770f491804b9fa7b7f22be.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-bucket/LatestNodeRuntimeMap": [
|
|
104
|
+
{
|
|
105
|
+
"type": "aws:cdk:logicalId",
|
|
106
|
+
"data": "LatestNodeRuntimeMap"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
103
109
|
"/fhss3-pre-existing-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-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-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-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-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-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": {
|
|
@@ -376,13 +384,13 @@
|
|
|
376
384
|
},
|
|
377
385
|
"constructInfo": {
|
|
378
386
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
379
|
-
"version": "2.
|
|
387
|
+
"version": "2.147.3"
|
|
380
388
|
}
|
|
381
389
|
}
|
|
382
390
|
},
|
|
383
391
|
"constructInfo": {
|
|
384
392
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
385
|
-
"version": "2.
|
|
393
|
+
"version": "2.147.3"
|
|
386
394
|
}
|
|
387
395
|
},
|
|
388
396
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -394,19 +402,19 @@
|
|
|
394
402
|
"path": "fhss3-pre-existing-bucket/scrapBucket/AutoDeleteObjectsCustomResource/Default",
|
|
395
403
|
"constructInfo": {
|
|
396
404
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
397
|
-
"version": "2.
|
|
405
|
+
"version": "2.147.3"
|
|
398
406
|
}
|
|
399
407
|
}
|
|
400
408
|
},
|
|
401
409
|
"constructInfo": {
|
|
402
410
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
403
|
-
"version": "2.
|
|
411
|
+
"version": "2.147.3"
|
|
404
412
|
}
|
|
405
413
|
}
|
|
406
414
|
},
|
|
407
415
|
"constructInfo": {
|
|
408
416
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
409
|
-
"version": "2.
|
|
417
|
+
"version": "2.147.3"
|
|
410
418
|
}
|
|
411
419
|
},
|
|
412
420
|
"mybucket": {
|
|
@@ -414,7 +422,7 @@
|
|
|
414
422
|
"path": "fhss3-pre-existing-bucket/mybucket",
|
|
415
423
|
"constructInfo": {
|
|
416
424
|
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
417
|
-
"version": "2.
|
|
425
|
+
"version": "2.147.3"
|
|
418
426
|
}
|
|
419
427
|
},
|
|
420
428
|
"test-firehose-s3-pre-existing-bucket-stack": {
|
|
@@ -434,7 +442,7 @@
|
|
|
434
442
|
},
|
|
435
443
|
"constructInfo": {
|
|
436
444
|
"fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
|
|
437
|
-
"version": "2.
|
|
445
|
+
"version": "2.147.3"
|
|
438
446
|
}
|
|
439
447
|
},
|
|
440
448
|
"firehose-log-stream": {
|
|
@@ -454,19 +462,19 @@
|
|
|
454
462
|
},
|
|
455
463
|
"constructInfo": {
|
|
456
464
|
"fqn": "aws-cdk-lib.aws_logs.CfnLogStream",
|
|
457
|
-
"version": "2.
|
|
465
|
+
"version": "2.147.3"
|
|
458
466
|
}
|
|
459
467
|
}
|
|
460
468
|
},
|
|
461
469
|
"constructInfo": {
|
|
462
470
|
"fqn": "aws-cdk-lib.aws_logs.LogStream",
|
|
463
|
-
"version": "2.
|
|
471
|
+
"version": "2.147.3"
|
|
464
472
|
}
|
|
465
473
|
}
|
|
466
474
|
},
|
|
467
475
|
"constructInfo": {
|
|
468
476
|
"fqn": "aws-cdk-lib.aws_logs.LogGroup",
|
|
469
|
-
"version": "2.
|
|
477
|
+
"version": "2.147.3"
|
|
470
478
|
}
|
|
471
479
|
},
|
|
472
480
|
"KinesisFirehoseRole": {
|
|
@@ -478,7 +486,7 @@
|
|
|
478
486
|
"path": "fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole/ImportKinesisFirehoseRole",
|
|
479
487
|
"constructInfo": {
|
|
480
488
|
"fqn": "aws-cdk-lib.Resource",
|
|
481
|
-
"version": "2.
|
|
489
|
+
"version": "2.147.3"
|
|
482
490
|
}
|
|
483
491
|
},
|
|
484
492
|
"Resource": {
|
|
@@ -503,13 +511,13 @@
|
|
|
503
511
|
},
|
|
504
512
|
"constructInfo": {
|
|
505
513
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
506
|
-
"version": "2.
|
|
514
|
+
"version": "2.147.3"
|
|
507
515
|
}
|
|
508
516
|
}
|
|
509
517
|
},
|
|
510
518
|
"constructInfo": {
|
|
511
519
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
512
|
-
"version": "2.
|
|
520
|
+
"version": "2.147.3"
|
|
513
521
|
}
|
|
514
522
|
},
|
|
515
523
|
"KinesisFirehosePolicy": {
|
|
@@ -612,13 +620,13 @@
|
|
|
612
620
|
},
|
|
613
621
|
"constructInfo": {
|
|
614
622
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
615
|
-
"version": "2.
|
|
623
|
+
"version": "2.147.3"
|
|
616
624
|
}
|
|
617
625
|
}
|
|
618
626
|
},
|
|
619
627
|
"constructInfo": {
|
|
620
628
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
621
|
-
"version": "2.
|
|
629
|
+
"version": "2.147.3"
|
|
622
630
|
}
|
|
623
631
|
},
|
|
624
632
|
"KinesisFirehose": {
|
|
@@ -696,13 +704,13 @@
|
|
|
696
704
|
},
|
|
697
705
|
"constructInfo": {
|
|
698
706
|
"fqn": "aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream",
|
|
699
|
-
"version": "2.
|
|
707
|
+
"version": "2.147.3"
|
|
700
708
|
}
|
|
701
709
|
}
|
|
702
710
|
},
|
|
703
711
|
"constructInfo": {
|
|
704
712
|
"fqn": "@aws-solutions-constructs/aws-kinesisfirehose-s3.KinesisFirehoseToS3",
|
|
705
|
-
"version": "2.
|
|
713
|
+
"version": "2.60.0"
|
|
706
714
|
}
|
|
707
715
|
},
|
|
708
716
|
"test-firehose-s3-pre-existing-bucket-stackaws-managed-key": {
|
|
@@ -710,7 +718,7 @@
|
|
|
710
718
|
"path": "fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stackaws-managed-key",
|
|
711
719
|
"constructInfo": {
|
|
712
720
|
"fqn": "aws-cdk-lib.Resource",
|
|
713
|
-
"version": "2.
|
|
721
|
+
"version": "2.147.3"
|
|
714
722
|
}
|
|
715
723
|
},
|
|
716
724
|
"Integ": {
|
|
@@ -726,7 +734,7 @@
|
|
|
726
734
|
"path": "fhss3-pre-existing-bucket/Integ/DefaultTest/Default",
|
|
727
735
|
"constructInfo": {
|
|
728
736
|
"fqn": "constructs.Construct",
|
|
729
|
-
"version": "10.
|
|
737
|
+
"version": "10.3.0"
|
|
730
738
|
}
|
|
731
739
|
},
|
|
732
740
|
"DeployAssert": {
|
|
@@ -738,7 +746,7 @@
|
|
|
738
746
|
"path": "fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
739
747
|
"constructInfo": {
|
|
740
748
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
741
|
-
"version": "2.
|
|
749
|
+
"version": "2.147.3"
|
|
742
750
|
}
|
|
743
751
|
},
|
|
744
752
|
"CheckBootstrapVersion": {
|
|
@@ -746,25 +754,25 @@
|
|
|
746
754
|
"path": "fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
747
755
|
"constructInfo": {
|
|
748
756
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
749
|
-
"version": "2.
|
|
757
|
+
"version": "2.147.3"
|
|
750
758
|
}
|
|
751
759
|
}
|
|
752
760
|
},
|
|
753
761
|
"constructInfo": {
|
|
754
762
|
"fqn": "aws-cdk-lib.Stack",
|
|
755
|
-
"version": "2.
|
|
763
|
+
"version": "2.147.3"
|
|
756
764
|
}
|
|
757
765
|
}
|
|
758
766
|
},
|
|
759
767
|
"constructInfo": {
|
|
760
768
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
761
|
-
"version": "2.
|
|
769
|
+
"version": "2.147.3-alpha.0"
|
|
762
770
|
}
|
|
763
771
|
}
|
|
764
772
|
},
|
|
765
773
|
"constructInfo": {
|
|
766
774
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
767
|
-
"version": "2.
|
|
775
|
+
"version": "2.147.3-alpha.0"
|
|
768
776
|
}
|
|
769
777
|
},
|
|
770
778
|
"BootstrapVersion": {
|
|
@@ -772,7 +780,7 @@
|
|
|
772
780
|
"path": "fhss3-pre-existing-bucket/BootstrapVersion",
|
|
773
781
|
"constructInfo": {
|
|
774
782
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
775
|
-
"version": "2.
|
|
783
|
+
"version": "2.147.3"
|
|
776
784
|
}
|
|
777
785
|
},
|
|
778
786
|
"CheckBootstrapVersion": {
|
|
@@ -780,13 +788,13 @@
|
|
|
780
788
|
"path": "fhss3-pre-existing-bucket/CheckBootstrapVersion",
|
|
781
789
|
"constructInfo": {
|
|
782
790
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
783
|
-
"version": "2.
|
|
791
|
+
"version": "2.147.3"
|
|
784
792
|
}
|
|
785
793
|
}
|
|
786
794
|
},
|
|
787
795
|
"constructInfo": {
|
|
788
796
|
"fqn": "aws-cdk-lib.Stack",
|
|
789
|
-
"version": "2.
|
|
797
|
+
"version": "2.147.3"
|
|
790
798
|
}
|
|
791
799
|
},
|
|
792
800
|
"Tree": {
|
|
@@ -794,13 +802,13 @@
|
|
|
794
802
|
"path": "Tree",
|
|
795
803
|
"constructInfo": {
|
|
796
804
|
"fqn": "constructs.Construct",
|
|
797
|
-
"version": "10.
|
|
805
|
+
"version": "10.3.0"
|
|
798
806
|
}
|
|
799
807
|
}
|
|
800
808
|
},
|
|
801
809
|
"constructInfo": {
|
|
802
810
|
"fqn": "aws-cdk-lib.App",
|
|
803
|
-
"version": "2.
|
|
811
|
+
"version": "2.147.3"
|
|
804
812
|
}
|
|
805
813
|
}
|
|
806
814
|
}
|
|
@@ -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
|
+
"12cf056a1a0fd389bd693e760c7937db96ba8c1b400c022ca619b18e26231ff8": {
|
|
18
18
|
"source": {
|
|
19
19
|
"path": "fhss3-pre-existing-logging-bucket.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": "12cf056a1a0fd389bd693e760c7937db96ba8c1b400c022ca619b18e26231ff8.json",
|
|
26
26
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"S3Bucket": {
|
|
207
207
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
208
208
|
},
|
|
209
|
-
"S3Key": "
|
|
209
|
+
"S3Key": "faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6.zip"
|
|
210
210
|
},
|
|
211
211
|
"Timeout": 900,
|
|
212
212
|
"MemorySize": 128,
|
|
@@ -217,7 +217,15 @@
|
|
|
217
217
|
"Arn"
|
|
218
218
|
]
|
|
219
219
|
},
|
|
220
|
-
"Runtime":
|
|
220
|
+
"Runtime": {
|
|
221
|
+
"Fn::FindInMap": [
|
|
222
|
+
"LatestNodeRuntimeMap",
|
|
223
|
+
{
|
|
224
|
+
"Ref": "AWS::Region"
|
|
225
|
+
},
|
|
226
|
+
"value"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
221
229
|
"Description": {
|
|
222
230
|
"Fn::Join": [
|
|
223
231
|
"",
|
|
@@ -766,6 +774,115 @@
|
|
|
766
774
|
}
|
|
767
775
|
}
|
|
768
776
|
},
|
|
777
|
+
"Mappings": {
|
|
778
|
+
"LatestNodeRuntimeMap": {
|
|
779
|
+
"af-south-1": {
|
|
780
|
+
"value": "nodejs20.x"
|
|
781
|
+
},
|
|
782
|
+
"ap-east-1": {
|
|
783
|
+
"value": "nodejs20.x"
|
|
784
|
+
},
|
|
785
|
+
"ap-northeast-1": {
|
|
786
|
+
"value": "nodejs20.x"
|
|
787
|
+
},
|
|
788
|
+
"ap-northeast-2": {
|
|
789
|
+
"value": "nodejs20.x"
|
|
790
|
+
},
|
|
791
|
+
"ap-northeast-3": {
|
|
792
|
+
"value": "nodejs20.x"
|
|
793
|
+
},
|
|
794
|
+
"ap-south-1": {
|
|
795
|
+
"value": "nodejs20.x"
|
|
796
|
+
},
|
|
797
|
+
"ap-south-2": {
|
|
798
|
+
"value": "nodejs20.x"
|
|
799
|
+
},
|
|
800
|
+
"ap-southeast-1": {
|
|
801
|
+
"value": "nodejs20.x"
|
|
802
|
+
},
|
|
803
|
+
"ap-southeast-2": {
|
|
804
|
+
"value": "nodejs20.x"
|
|
805
|
+
},
|
|
806
|
+
"ap-southeast-3": {
|
|
807
|
+
"value": "nodejs20.x"
|
|
808
|
+
},
|
|
809
|
+
"ap-southeast-4": {
|
|
810
|
+
"value": "nodejs20.x"
|
|
811
|
+
},
|
|
812
|
+
"ca-central-1": {
|
|
813
|
+
"value": "nodejs20.x"
|
|
814
|
+
},
|
|
815
|
+
"cn-north-1": {
|
|
816
|
+
"value": "nodejs18.x"
|
|
817
|
+
},
|
|
818
|
+
"cn-northwest-1": {
|
|
819
|
+
"value": "nodejs18.x"
|
|
820
|
+
},
|
|
821
|
+
"eu-central-1": {
|
|
822
|
+
"value": "nodejs20.x"
|
|
823
|
+
},
|
|
824
|
+
"eu-central-2": {
|
|
825
|
+
"value": "nodejs20.x"
|
|
826
|
+
},
|
|
827
|
+
"eu-north-1": {
|
|
828
|
+
"value": "nodejs20.x"
|
|
829
|
+
},
|
|
830
|
+
"eu-south-1": {
|
|
831
|
+
"value": "nodejs20.x"
|
|
832
|
+
},
|
|
833
|
+
"eu-south-2": {
|
|
834
|
+
"value": "nodejs20.x"
|
|
835
|
+
},
|
|
836
|
+
"eu-west-1": {
|
|
837
|
+
"value": "nodejs20.x"
|
|
838
|
+
},
|
|
839
|
+
"eu-west-2": {
|
|
840
|
+
"value": "nodejs20.x"
|
|
841
|
+
},
|
|
842
|
+
"eu-west-3": {
|
|
843
|
+
"value": "nodejs20.x"
|
|
844
|
+
},
|
|
845
|
+
"il-central-1": {
|
|
846
|
+
"value": "nodejs20.x"
|
|
847
|
+
},
|
|
848
|
+
"me-central-1": {
|
|
849
|
+
"value": "nodejs20.x"
|
|
850
|
+
},
|
|
851
|
+
"me-south-1": {
|
|
852
|
+
"value": "nodejs20.x"
|
|
853
|
+
},
|
|
854
|
+
"sa-east-1": {
|
|
855
|
+
"value": "nodejs20.x"
|
|
856
|
+
},
|
|
857
|
+
"us-east-1": {
|
|
858
|
+
"value": "nodejs20.x"
|
|
859
|
+
},
|
|
860
|
+
"us-east-2": {
|
|
861
|
+
"value": "nodejs20.x"
|
|
862
|
+
},
|
|
863
|
+
"us-gov-east-1": {
|
|
864
|
+
"value": "nodejs18.x"
|
|
865
|
+
},
|
|
866
|
+
"us-gov-west-1": {
|
|
867
|
+
"value": "nodejs18.x"
|
|
868
|
+
},
|
|
869
|
+
"us-iso-east-1": {
|
|
870
|
+
"value": "nodejs18.x"
|
|
871
|
+
},
|
|
872
|
+
"us-iso-west-1": {
|
|
873
|
+
"value": "nodejs18.x"
|
|
874
|
+
},
|
|
875
|
+
"us-isob-east-1": {
|
|
876
|
+
"value": "nodejs18.x"
|
|
877
|
+
},
|
|
878
|
+
"us-west-1": {
|
|
879
|
+
"value": "nodejs20.x"
|
|
880
|
+
},
|
|
881
|
+
"us-west-2": {
|
|
882
|
+
"value": "nodejs20.x"
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
},
|
|
769
886
|
"Parameters": {
|
|
770
887
|
"BootstrapVersion": {
|
|
771
888
|
"Type": "AWS::SSM::Parameter::Value<String>",
|