@aws-solutions-constructs/aws-fargate-kinesisstreams 2.76.0 → 2.77.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 (73) hide show
  1. package/.jsii +57 -18
  2. package/lib/index.js +1 -1
  3. package/package.json +7 -6
  4. package/test/integ.farkin-existingFargateService.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  5. package/test/integ.farkin-existingFargateService.js.snapshot/cdk.out +1 -1
  6. package/test/integ.farkin-existingFargateService.js.snapshot/farkin-existingFargateService.assets.json +6 -6
  7. package/test/integ.farkin-existingFargateService.js.snapshot/farkin-existingFargateService.template.json +25 -1
  8. package/test/integ.farkin-existingFargateService.js.snapshot/farkinexistingFargateServiceIntegDefaultTestDeployAssertF1F4EC2C.assets.json +1 -1
  9. package/test/integ.farkin-existingFargateService.js.snapshot/integ.json +1 -1
  10. package/test/integ.farkin-existingFargateService.js.snapshot/manifest.json +8 -2
  11. package/test/integ.farkin-existingFargateService.js.snapshot/tree.json +118 -94
  12. package/test/integ.farkin-existingStream.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  13. package/test/integ.farkin-existingStream.js.snapshot/cdk.out +1 -1
  14. package/test/integ.farkin-existingStream.js.snapshot/farkin-existingStream.assets.json +6 -6
  15. package/test/integ.farkin-existingStream.js.snapshot/farkin-existingStream.template.json +25 -1
  16. package/test/integ.farkin-existingStream.js.snapshot/farkinexistingStreamIntegDefaultTestDeployAssert24640A36.assets.json +1 -1
  17. package/test/integ.farkin-existingStream.js.snapshot/integ.json +1 -1
  18. package/test/integ.farkin-existingStream.js.snapshot/manifest.json +8 -2
  19. package/test/integ.farkin-existingStream.js.snapshot/tree.json +118 -94
  20. package/test/integ.farkin-existingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  21. package/test/integ.farkin-existingVpc.js.snapshot/cdk.out +1 -1
  22. package/test/integ.farkin-existingVpc.js.snapshot/farkin-existingVpc.assets.json +6 -6
  23. package/test/integ.farkin-existingVpc.js.snapshot/farkin-existingVpc.template.json +25 -1
  24. package/test/integ.farkin-existingVpc.js.snapshot/farkinexistingVpcIntegDefaultTestDeployAssert8065A04A.assets.json +1 -1
  25. package/test/integ.farkin-existingVpc.js.snapshot/integ.json +1 -1
  26. package/test/integ.farkin-existingVpc.js.snapshot/manifest.json +8 -2
  27. package/test/integ.farkin-existingVpc.js.snapshot/tree.json +118 -94
  28. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  29. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/cdk.out +1 -1
  30. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkin-fargateServiceFromProps.assets.json +6 -6
  31. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkin-fargateServiceFromProps.template.json +25 -1
  32. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkinfargateServiceFromPropsIntegDefaultTestDeployAssert5047AEA2.assets.json +1 -1
  33. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/integ.json +1 -1
  34. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/manifest.json +8 -2
  35. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/tree.json +118 -94
  36. package/test/integ.farkin-noArguments.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  37. package/test/integ.farkin-noArguments.js.snapshot/cdk.out +1 -1
  38. package/test/integ.farkin-noArguments.js.snapshot/farkin-noArguments.assets.json +6 -6
  39. package/test/integ.farkin-noArguments.js.snapshot/farkin-noArguments.template.json +25 -1
  40. package/test/integ.farkin-noArguments.js.snapshot/farkinnoArgumentsIntegDefaultTestDeployAssert5E204AE6.assets.json +1 -1
  41. package/test/integ.farkin-noArguments.js.snapshot/integ.json +1 -1
  42. package/test/integ.farkin-noArguments.js.snapshot/manifest.json +8 -2
  43. package/test/integ.farkin-noArguments.js.snapshot/tree.json +118 -94
  44. package/test/integ.farkin-streamFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  45. package/test/integ.farkin-streamFromProps.js.snapshot/cdk.out +1 -1
  46. package/test/integ.farkin-streamFromProps.js.snapshot/farkin-streamFromProps.assets.json +6 -6
  47. package/test/integ.farkin-streamFromProps.js.snapshot/farkin-streamFromProps.template.json +25 -1
  48. package/test/integ.farkin-streamFromProps.js.snapshot/farkinstreamFromPropsIntegDefaultTestDeployAssertF891650B.assets.json +1 -1
  49. package/test/integ.farkin-streamFromProps.js.snapshot/integ.json +1 -1
  50. package/test/integ.farkin-streamFromProps.js.snapshot/manifest.json +8 -2
  51. package/test/integ.farkin-streamFromProps.js.snapshot/tree.json +118 -94
  52. package/test/integ.farkin-vpcFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  53. package/test/integ.farkin-vpcFromProps.js.snapshot/cdk.out +1 -1
  54. package/test/integ.farkin-vpcFromProps.js.snapshot/farkin-vpcFromProps.assets.json +6 -6
  55. package/test/integ.farkin-vpcFromProps.js.snapshot/farkin-vpcFromProps.template.json +25 -1
  56. package/test/integ.farkin-vpcFromProps.js.snapshot/farkinvpcFromPropsIntegDefaultTestDeployAssert05CE38D4.assets.json +1 -1
  57. package/test/integ.farkin-vpcFromProps.js.snapshot/integ.json +1 -1
  58. package/test/integ.farkin-vpcFromProps.js.snapshot/manifest.json +8 -2
  59. package/test/integ.farkin-vpcFromProps.js.snapshot/tree.json +118 -94
  60. package/test/integ.farkin-existingFargateService.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  61. package/test/integ.farkin-existingStream.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  62. package/test/integ.farkin-existingVpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  63. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  64. package/test/integ.farkin-noArguments.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  65. package/test/integ.farkin-streamFromProps.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  66. package/test/integ.farkin-vpcFromProps.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  67. /package/test/integ.farkin-existingFargateService.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  68. /package/test/integ.farkin-existingStream.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  69. /package/test/integ.farkin-existingVpc.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  70. /package/test/integ.farkin-fargateServiceFromProps.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  71. /package/test/integ.farkin-noArguments.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  72. /package/test/integ.farkin-streamFromProps.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  73. /package/test/integ.farkin-vpcFromProps.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.external=void 0,exports.handler=handler,exports.withRetries=withRetries;const https=require("https"),url=require("url");exports.external={sendHttpRequest:defaultSendHttpRequest,log:defaultLog,includeStackTraces:!0,userHandlerIndex:"./index"};const CREATE_FAILED_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",MISSING_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";async function handler(event,context){const sanitizedEvent={...event,ResponseURL:"..."};if(exports.external.log(JSON.stringify(sanitizedEvent,void 0,2)),event.RequestType==="Delete"&&event.PhysicalResourceId===CREATE_FAILED_PHYSICAL_ID_MARKER){exports.external.log("ignoring DELETE event caused by a failed CREATE event"),await submitResponse("SUCCESS",event);return}try{const userHandler=require(exports.external.userHandlerIndex).handler,result=await userHandler(sanitizedEvent,context),responseEvent=renderResponse(event,result);await submitResponse("SUCCESS",responseEvent)}catch(e){const resp={...event,Reason:exports.external.includeStackTraces?e.stack:e.message};resp.PhysicalResourceId||(event.RequestType==="Create"?(exports.external.log("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),resp.PhysicalResourceId=CREATE_FAILED_PHYSICAL_ID_MARKER):exports.external.log(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify(event)}`)),await submitResponse("FAILED",resp)}}function renderResponse(cfnRequest,handlerResponse={}){const physicalResourceId=handlerResponse.PhysicalResourceId??cfnRequest.PhysicalResourceId??cfnRequest.RequestId;if(cfnRequest.RequestType==="Delete"&&physicalResourceId!==cfnRequest.PhysicalResourceId)throw new Error(`DELETE: cannot change the physical resource ID from "${cfnRequest.PhysicalResourceId}" to "${handlerResponse.PhysicalResourceId}" during deletion`);return{...cfnRequest,...handlerResponse,PhysicalResourceId:physicalResourceId}}async function submitResponse(status,event){const json={Status:status,Reason:event.Reason??status,StackId:event.StackId,RequestId:event.RequestId,PhysicalResourceId:event.PhysicalResourceId||MISSING_PHYSICAL_ID_MARKER,LogicalResourceId:event.LogicalResourceId,NoEcho:event.NoEcho,Data:event.Data},parsedUrl=url.parse(event.ResponseURL),loggingSafeUrl=`${parsedUrl.protocol}//${parsedUrl.hostname}/${parsedUrl.pathname}?***`;exports.external.log("submit response to cloudformation",loggingSafeUrl,json);const responseBody=JSON.stringify(json),req={hostname:parsedUrl.hostname,path:parsedUrl.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(responseBody,"utf8")}};await withRetries({attempts:5,sleep:1e3},exports.external.sendHttpRequest)(req,responseBody)}async function defaultSendHttpRequest(options,requestBody){return new Promise((resolve,reject)=>{try{const request=https.request(options,response=>{response.resume(),!response.statusCode||response.statusCode>=400?reject(new Error(`Unsuccessful HTTP response: ${response.statusCode}`)):resolve()});request.on("error",reject),request.write(requestBody),request.end()}catch(e){reject(e)}})}function defaultLog(fmt,...params){console.log(fmt,...params)}function withRetries(options,fn){return async(...xs)=>{let attempts=options.attempts,ms=options.sleep;for(;;)try{return await fn(...xs)}catch(e){if(attempts--<=0)throw e;await sleep(Math.floor(Math.random()*ms)),ms*=2}}}async function sleep(ms){return new Promise(ok=>setTimeout(ok,ms))}
@@ -1 +1 @@
1
- {"version":"36.0.0"}
1
+ {"version":"39.0.0"}
@@ -1,20 +1,20 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "files": {
4
- "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a": {
4
+ "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200": {
5
5
  "source": {
6
- "path": "asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a",
6
+ "path": "asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200",
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": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip",
12
+ "objectKey": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.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
- "d7c7472bf3d80a5ee7b57e7c25a5f0ee65dd3a4372eebc84bcf4dd1aec763249": {
17
+ "acbd2ef887a9404592ebf00425a1993054eaf53cbacc3aabd2f06accc0d28cf7": {
18
18
  "source": {
19
19
  "path": "farkin-noArguments.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": "d7c7472bf3d80a5ee7b57e7c25a5f0ee65dd3a4372eebc84bcf4dd1aec763249.json",
25
+ "objectKey": "acbd2ef887a9404592ebf00425a1993054eaf53cbacc3aabd2f06accc0d28cf7.json",
26
26
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
27
  }
28
28
  }
@@ -617,6 +617,12 @@
617
617
  "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
618
618
  }
619
619
  ],
620
+ "Tags": [
621
+ {
622
+ "Key": "Name",
623
+ "Value": "farkin-noArguments/Vpc"
624
+ }
625
+ ],
620
626
  "VpcEndpointType": "Interface",
621
627
  "VpcId": {
622
628
  "Ref": "Vpc8378EB38"
@@ -655,6 +661,12 @@
655
661
  "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
656
662
  }
657
663
  ],
664
+ "Tags": [
665
+ {
666
+ "Key": "Name",
667
+ "Value": "farkin-noArguments/Vpc"
668
+ }
669
+ ],
658
670
  "VpcEndpointType": "Interface",
659
671
  "VpcId": {
660
672
  "Ref": "Vpc8378EB38"
@@ -693,6 +705,12 @@
693
705
  "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
694
706
  }
695
707
  ],
708
+ "Tags": [
709
+ {
710
+ "Key": "Name",
711
+ "Value": "farkin-noArguments/Vpc"
712
+ }
713
+ ],
696
714
  "VpcEndpointType": "Interface",
697
715
  "VpcId": {
698
716
  "Ref": "Vpc8378EB38"
@@ -728,6 +746,12 @@
728
746
  ]
729
747
  ]
730
748
  },
749
+ "Tags": [
750
+ {
751
+ "Key": "Name",
752
+ "Value": "farkin-noArguments/Vpc"
753
+ }
754
+ ],
731
755
  "VpcEndpointType": "Gateway",
732
756
  "VpcId": {
733
757
  "Ref": "Vpc8378EB38"
@@ -815,7 +839,7 @@
815
839
  "S3Bucket": {
816
840
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
817
841
  },
818
- "S3Key": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip"
842
+ "S3Key": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.zip"
819
843
  },
820
844
  "Timeout": 900,
821
845
  "MemorySize": 128,
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "source": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "testCases": {
4
4
  "farkin-noArguments/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "artifacts": {
4
4
  "farkinnoArgumentsIntegDefaultTestDeployAssert5E204AE6.assets": {
5
5
  "type": "cdk:asset-manifest",
@@ -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}/d7c7472bf3d80a5ee7b57e7c25a5f0ee65dd3a4372eebc84bcf4dd1aec763249.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/acbd2ef887a9404592ebf00425a1993054eaf53cbacc3aabd2f06accc0d28cf7.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -298,6 +298,12 @@
298
298
  "data": "LatestNodeRuntimeMap"
299
299
  }
300
300
  ],
301
+ "/farkin-noArguments/Custom::VpcRestrictDefaultSGCustomResourceProvider": [
302
+ {
303
+ "type": "aws:cdk:is-custom-resource-handler-customResourceProvider",
304
+ "data": true
305
+ }
306
+ ],
301
307
  "/farkin-noArguments/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role": [
302
308
  {
303
309
  "type": "aws:cdk:logicalId",