@aws-solutions-constructs/aws-kinesisfirehose-s3 2.59.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.
Files changed (33) hide show
  1. package/.jsii +45 -8
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.fhss3-customLoggingBucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  5. package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.assets.json +5 -5
  6. package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.template.json +119 -2
  7. package/test/integ.fhss3-customLoggingBucket.js.snapshot/manifest.json +7 -1
  8. package/test/integ.fhss3-customLoggingBucket.js.snapshot/tree.json +45 -37
  9. package/test/integ.fhss3-no-arguments.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  10. package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.assets.json +5 -5
  11. package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.template.json +119 -2
  12. package/test/integ.fhss3-no-arguments.js.snapshot/manifest.json +7 -1
  13. package/test/integ.fhss3-no-arguments.js.snapshot/tree.json +47 -39
  14. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  15. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.assets.json +5 -5
  16. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.template.json +119 -2
  17. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/manifest.json +7 -1
  18. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/tree.json +48 -40
  19. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  20. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.assets.json +5 -5
  21. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.template.json +119 -2
  22. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/manifest.json +7 -1
  23. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/tree.json +53 -45
  24. package/test/integ.fhss3-two-instances.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  25. package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.assets.json +5 -5
  26. package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.template.json +119 -2
  27. package/test/integ.fhss3-two-instances.js.snapshot/manifest.json +7 -1
  28. package/test/integ.fhss3-two-instances.js.snapshot/tree.json +71 -63
  29. package/test/integ.fhss3-customLoggingBucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
  30. package/test/integ.fhss3-no-arguments.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
  31. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
  32. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
  33. package/test/integ.fhss3-two-instances.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +0 -1
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "constructInfo": {
65
65
  "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
66
- "version": "2.118.0"
66
+ "version": "2.147.3"
67
67
  }
68
68
  },
69
69
  "Policy": {
@@ -197,13 +197,13 @@
197
197
  },
198
198
  "constructInfo": {
199
199
  "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
200
- "version": "2.118.0"
200
+ "version": "2.147.3"
201
201
  }
202
202
  }
203
203
  },
204
204
  "constructInfo": {
205
205
  "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
206
- "version": "2.118.0"
206
+ "version": "2.147.3"
207
207
  }
208
208
  },
209
209
  "AutoDeleteObjectsCustomResource": {
@@ -215,19 +215,19 @@
215
215
  "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default",
216
216
  "constructInfo": {
217
217
  "fqn": "aws-cdk-lib.CfnResource",
218
- "version": "2.118.0"
218
+ "version": "2.147.3"
219
219
  }
220
220
  }
221
221
  },
222
222
  "constructInfo": {
223
223
  "fqn": "aws-cdk-lib.CustomResource",
224
- "version": "2.118.0"
224
+ "version": "2.147.3"
225
225
  }
226
226
  }
227
227
  },
228
228
  "constructInfo": {
229
229
  "fqn": "aws-cdk-lib.aws_s3.Bucket",
230
- "version": "2.118.0"
230
+ "version": "2.147.3"
231
231
  }
232
232
  },
233
233
  "S3Bucket": {
@@ -280,7 +280,7 @@
280
280
  },
281
281
  "constructInfo": {
282
282
  "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
283
- "version": "2.118.0"
283
+ "version": "2.147.3"
284
284
  }
285
285
  },
286
286
  "Policy": {
@@ -339,19 +339,19 @@
339
339
  },
340
340
  "constructInfo": {
341
341
  "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
342
- "version": "2.118.0"
342
+ "version": "2.147.3"
343
343
  }
344
344
  }
345
345
  },
346
346
  "constructInfo": {
347
347
  "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
348
- "version": "2.118.0"
348
+ "version": "2.147.3"
349
349
  }
350
350
  }
351
351
  },
352
352
  "constructInfo": {
353
353
  "fqn": "aws-cdk-lib.aws_s3.Bucket",
354
- "version": "2.118.0"
354
+ "version": "2.147.3"
355
355
  }
356
356
  },
357
357
  "firehose-log-group": {
@@ -367,7 +367,7 @@
367
367
  },
368
368
  "constructInfo": {
369
369
  "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
370
- "version": "2.118.0"
370
+ "version": "2.147.3"
371
371
  }
372
372
  },
373
373
  "firehose-log-stream": {
@@ -387,19 +387,19 @@
387
387
  },
388
388
  "constructInfo": {
389
389
  "fqn": "aws-cdk-lib.aws_logs.CfnLogStream",
390
- "version": "2.118.0"
390
+ "version": "2.147.3"
391
391
  }
392
392
  }
393
393
  },
394
394
  "constructInfo": {
395
395
  "fqn": "aws-cdk-lib.aws_logs.LogStream",
396
- "version": "2.118.0"
396
+ "version": "2.147.3"
397
397
  }
398
398
  }
399
399
  },
400
400
  "constructInfo": {
401
401
  "fqn": "aws-cdk-lib.aws_logs.LogGroup",
402
- "version": "2.118.0"
402
+ "version": "2.147.3"
403
403
  }
404
404
  },
405
405
  "KinesisFirehoseRole": {
@@ -411,7 +411,7 @@
411
411
  "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/KinesisFirehoseRole/ImportKinesisFirehoseRole",
412
412
  "constructInfo": {
413
413
  "fqn": "aws-cdk-lib.Resource",
414
- "version": "2.118.0"
414
+ "version": "2.147.3"
415
415
  }
416
416
  },
417
417
  "Resource": {
@@ -436,13 +436,13 @@
436
436
  },
437
437
  "constructInfo": {
438
438
  "fqn": "aws-cdk-lib.aws_iam.CfnRole",
439
- "version": "2.118.0"
439
+ "version": "2.147.3"
440
440
  }
441
441
  }
442
442
  },
443
443
  "constructInfo": {
444
444
  "fqn": "aws-cdk-lib.aws_iam.Role",
445
- "version": "2.118.0"
445
+ "version": "2.147.3"
446
446
  }
447
447
  },
448
448
  "KinesisFirehosePolicy": {
@@ -534,13 +534,13 @@
534
534
  },
535
535
  "constructInfo": {
536
536
  "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
537
- "version": "2.118.0"
537
+ "version": "2.147.3"
538
538
  }
539
539
  }
540
540
  },
541
541
  "constructInfo": {
542
542
  "fqn": "aws-cdk-lib.aws_iam.Policy",
543
- "version": "2.118.0"
543
+ "version": "2.147.3"
544
544
  }
545
545
  },
546
546
  "KinesisFirehose": {
@@ -609,13 +609,21 @@
609
609
  },
610
610
  "constructInfo": {
611
611
  "fqn": "aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream",
612
- "version": "2.118.0"
612
+ "version": "2.147.3"
613
613
  }
614
614
  }
615
615
  },
616
616
  "constructInfo": {
617
617
  "fqn": "@aws-solutions-constructs/aws-kinesisfirehose-s3.KinesisFirehoseToS3",
618
- "version": "2.50.0"
618
+ "version": "2.60.0"
619
+ }
620
+ },
621
+ "LatestNodeRuntimeMap": {
622
+ "id": "LatestNodeRuntimeMap",
623
+ "path": "fhss3-customLoggingBucket/LatestNodeRuntimeMap",
624
+ "constructInfo": {
625
+ "fqn": "aws-cdk-lib.CfnMapping",
626
+ "version": "2.147.3"
619
627
  }
620
628
  },
621
629
  "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
@@ -627,7 +635,7 @@
627
635
  "path": "fhss3-customLoggingBucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
628
636
  "constructInfo": {
629
637
  "fqn": "aws-cdk-lib.AssetStaging",
630
- "version": "2.118.0"
638
+ "version": "2.147.3"
631
639
  }
632
640
  },
633
641
  "Role": {
@@ -635,7 +643,7 @@
635
643
  "path": "fhss3-customLoggingBucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
636
644
  "constructInfo": {
637
645
  "fqn": "aws-cdk-lib.CfnResource",
638
- "version": "2.118.0"
646
+ "version": "2.147.3"
639
647
  }
640
648
  },
641
649
  "Handler": {
@@ -643,13 +651,13 @@
643
651
  "path": "fhss3-customLoggingBucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
644
652
  "constructInfo": {
645
653
  "fqn": "aws-cdk-lib.CfnResource",
646
- "version": "2.118.0"
654
+ "version": "2.147.3"
647
655
  }
648
656
  }
649
657
  },
650
658
  "constructInfo": {
651
659
  "fqn": "aws-cdk-lib.CustomResourceProviderBase",
652
- "version": "2.118.0"
660
+ "version": "2.147.3"
653
661
  }
654
662
  },
655
663
  "test-kinesisfirehose-s3aws-managed-key": {
@@ -657,7 +665,7 @@
657
665
  "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3aws-managed-key",
658
666
  "constructInfo": {
659
667
  "fqn": "aws-cdk-lib.Resource",
660
- "version": "2.118.0"
668
+ "version": "2.147.3"
661
669
  }
662
670
  },
663
671
  "Integ": {
@@ -673,7 +681,7 @@
673
681
  "path": "fhss3-customLoggingBucket/Integ/DefaultTest/Default",
674
682
  "constructInfo": {
675
683
  "fqn": "constructs.Construct",
676
- "version": "10.0.0"
684
+ "version": "10.3.0"
677
685
  }
678
686
  },
679
687
  "DeployAssert": {
@@ -685,7 +693,7 @@
685
693
  "path": "fhss3-customLoggingBucket/Integ/DefaultTest/DeployAssert/BootstrapVersion",
686
694
  "constructInfo": {
687
695
  "fqn": "aws-cdk-lib.CfnParameter",
688
- "version": "2.118.0"
696
+ "version": "2.147.3"
689
697
  }
690
698
  },
691
699
  "CheckBootstrapVersion": {
@@ -693,25 +701,25 @@
693
701
  "path": "fhss3-customLoggingBucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
694
702
  "constructInfo": {
695
703
  "fqn": "aws-cdk-lib.CfnRule",
696
- "version": "2.118.0"
704
+ "version": "2.147.3"
697
705
  }
698
706
  }
699
707
  },
700
708
  "constructInfo": {
701
709
  "fqn": "aws-cdk-lib.Stack",
702
- "version": "2.118.0"
710
+ "version": "2.147.3"
703
711
  }
704
712
  }
705
713
  },
706
714
  "constructInfo": {
707
715
  "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
708
- "version": "2.118.0-alpha.0"
716
+ "version": "2.147.3-alpha.0"
709
717
  }
710
718
  }
711
719
  },
712
720
  "constructInfo": {
713
721
  "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
714
- "version": "2.118.0-alpha.0"
722
+ "version": "2.147.3-alpha.0"
715
723
  }
716
724
  },
717
725
  "BootstrapVersion": {
@@ -719,7 +727,7 @@
719
727
  "path": "fhss3-customLoggingBucket/BootstrapVersion",
720
728
  "constructInfo": {
721
729
  "fqn": "aws-cdk-lib.CfnParameter",
722
- "version": "2.118.0"
730
+ "version": "2.147.3"
723
731
  }
724
732
  },
725
733
  "CheckBootstrapVersion": {
@@ -727,13 +735,13 @@
727
735
  "path": "fhss3-customLoggingBucket/CheckBootstrapVersion",
728
736
  "constructInfo": {
729
737
  "fqn": "aws-cdk-lib.CfnRule",
730
- "version": "2.118.0"
738
+ "version": "2.147.3"
731
739
  }
732
740
  }
733
741
  },
734
742
  "constructInfo": {
735
743
  "fqn": "aws-cdk-lib.Stack",
736
- "version": "2.118.0"
744
+ "version": "2.147.3"
737
745
  }
738
746
  },
739
747
  "Tree": {
@@ -741,13 +749,13 @@
741
749
  "path": "Tree",
742
750
  "constructInfo": {
743
751
  "fqn": "constructs.Construct",
744
- "version": "10.0.0"
752
+ "version": "10.3.0"
745
753
  }
746
754
  }
747
755
  },
748
756
  "constructInfo": {
749
757
  "fqn": "aws-cdk-lib.App",
750
- "version": "2.118.0"
758
+ "version": "2.147.3"
751
759
  }
752
760
  }
753
761
  }
@@ -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
- "b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6": {
4
+ "faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6": {
5
5
  "source": {
6
- "path": "asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6",
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": "b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6.zip",
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
- "ff5749aad365d1bffb2e89bf4803ff8cbf8653dce39acd5ed746846198095e2b": {
17
+ "e9a5491e776ed7c1f61272617cb9cc8334716ec7a09a55756ef434738a080f06": {
18
18
  "source": {
19
19
  "path": "fhss3-no-arguments.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": "ff5749aad365d1bffb2e89bf4803ff8cbf8653dce39acd5ed746846198095e2b.json",
25
+ "objectKey": "e9a5491e776ed7c1f61272617cb9cc8334716ec7a09a55756ef434738a080f06.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": "b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6.zip"
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": "nodejs18.x",
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
  "",
@@ -601,6 +609,115 @@
601
609
  }
602
610
  }
603
611
  },
612
+ "Mappings": {
613
+ "LatestNodeRuntimeMap": {
614
+ "af-south-1": {
615
+ "value": "nodejs20.x"
616
+ },
617
+ "ap-east-1": {
618
+ "value": "nodejs20.x"
619
+ },
620
+ "ap-northeast-1": {
621
+ "value": "nodejs20.x"
622
+ },
623
+ "ap-northeast-2": {
624
+ "value": "nodejs20.x"
625
+ },
626
+ "ap-northeast-3": {
627
+ "value": "nodejs20.x"
628
+ },
629
+ "ap-south-1": {
630
+ "value": "nodejs20.x"
631
+ },
632
+ "ap-south-2": {
633
+ "value": "nodejs20.x"
634
+ },
635
+ "ap-southeast-1": {
636
+ "value": "nodejs20.x"
637
+ },
638
+ "ap-southeast-2": {
639
+ "value": "nodejs20.x"
640
+ },
641
+ "ap-southeast-3": {
642
+ "value": "nodejs20.x"
643
+ },
644
+ "ap-southeast-4": {
645
+ "value": "nodejs20.x"
646
+ },
647
+ "ca-central-1": {
648
+ "value": "nodejs20.x"
649
+ },
650
+ "cn-north-1": {
651
+ "value": "nodejs18.x"
652
+ },
653
+ "cn-northwest-1": {
654
+ "value": "nodejs18.x"
655
+ },
656
+ "eu-central-1": {
657
+ "value": "nodejs20.x"
658
+ },
659
+ "eu-central-2": {
660
+ "value": "nodejs20.x"
661
+ },
662
+ "eu-north-1": {
663
+ "value": "nodejs20.x"
664
+ },
665
+ "eu-south-1": {
666
+ "value": "nodejs20.x"
667
+ },
668
+ "eu-south-2": {
669
+ "value": "nodejs20.x"
670
+ },
671
+ "eu-west-1": {
672
+ "value": "nodejs20.x"
673
+ },
674
+ "eu-west-2": {
675
+ "value": "nodejs20.x"
676
+ },
677
+ "eu-west-3": {
678
+ "value": "nodejs20.x"
679
+ },
680
+ "il-central-1": {
681
+ "value": "nodejs20.x"
682
+ },
683
+ "me-central-1": {
684
+ "value": "nodejs20.x"
685
+ },
686
+ "me-south-1": {
687
+ "value": "nodejs20.x"
688
+ },
689
+ "sa-east-1": {
690
+ "value": "nodejs20.x"
691
+ },
692
+ "us-east-1": {
693
+ "value": "nodejs20.x"
694
+ },
695
+ "us-east-2": {
696
+ "value": "nodejs20.x"
697
+ },
698
+ "us-gov-east-1": {
699
+ "value": "nodejs18.x"
700
+ },
701
+ "us-gov-west-1": {
702
+ "value": "nodejs18.x"
703
+ },
704
+ "us-iso-east-1": {
705
+ "value": "nodejs18.x"
706
+ },
707
+ "us-iso-west-1": {
708
+ "value": "nodejs18.x"
709
+ },
710
+ "us-isob-east-1": {
711
+ "value": "nodejs18.x"
712
+ },
713
+ "us-west-1": {
714
+ "value": "nodejs20.x"
715
+ },
716
+ "us-west-2": {
717
+ "value": "nodejs20.x"
718
+ }
719
+ }
720
+ },
604
721
  "Parameters": {
605
722
  "BootstrapVersion": {
606
723
  "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}/ff5749aad365d1bffb2e89bf4803ff8cbf8653dce39acd5ed746846198095e2b.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/e9a5491e776ed7c1f61272617cb9cc8334716ec7a09a55756ef434738a080f06.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -148,6 +148,12 @@
148
148
  "data": "testfirehoses3KinesisFirehose5D459661"
149
149
  }
150
150
  ],
151
+ "/fhss3-no-arguments/LatestNodeRuntimeMap": [
152
+ {
153
+ "type": "aws:cdk:logicalId",
154
+ "data": "LatestNodeRuntimeMap"
155
+ }
156
+ ],
151
157
  "/fhss3-no-arguments/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role": [
152
158
  {
153
159
  "type": "aws:cdk:logicalId",