@aws-solutions-constructs/aws-lambda-kinesisstreams 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.
Files changed (44) hide show
  1. package/.jsii +19 -6
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamkin-existingLambda.js +3 -2
  5. package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.assets.json +2 -2
  6. package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.template.json +2 -1
  7. package/test/integ.lamkin-existingLambda.js.snapshot/manifest.json +1 -1
  8. package/test/integ.lamkin-existingLambda.js.snapshot/tree.json +28 -27
  9. package/test/integ.lamkin-existingStream.js +3 -2
  10. package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.assets.json +2 -2
  11. package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.template.json +2 -1
  12. package/test/integ.lamkin-existingStream.js.snapshot/manifest.json +1 -1
  13. package/test/integ.lamkin-existingStream.js.snapshot/tree.json +28 -27
  14. package/test/integ.lamkin-existingStreamWithCmk.js +3 -2
  15. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.assets.json +2 -2
  16. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.template.json +2 -1
  17. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/manifest.json +1 -1
  18. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/tree.json +30 -29
  19. package/test/integ.lamkin-existingVpc.js +3 -2
  20. package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.assets.json +2 -2
  21. package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.template.json +120 -2
  22. package/test/integ.lamkin-existingVpc.js.snapshot/manifest.json +7 -1
  23. package/test/integ.lamkin-existingVpc.js.snapshot/tree.json +89 -80
  24. package/test/integ.lamkin-newStreamFromProps.js +3 -2
  25. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.assets.json +2 -2
  26. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.template.json +2 -1
  27. package/test/integ.lamkin-newStreamFromProps.js.snapshot/manifest.json +1 -1
  28. package/test/integ.lamkin-newStreamFromProps.js.snapshot/tree.json +28 -27
  29. package/test/integ.lamkin-newVpc.js +3 -2
  30. package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.assets.json +2 -2
  31. package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.template.json +120 -2
  32. package/test/integ.lamkin-newVpc.js.snapshot/manifest.json +7 -1
  33. package/test/integ.lamkin-newVpc.js.snapshot/tree.json +69 -60
  34. package/test/integ.lamkin-newVpcFromProps.js +3 -2
  35. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.assets.json +2 -2
  36. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.template.json +120 -2
  37. package/test/integ.lamkin-newVpcFromProps.js.snapshot/manifest.json +7 -1
  38. package/test/integ.lamkin-newVpcFromProps.js.snapshot/tree.json +64 -55
  39. package/test/integ.lamkin-noArguments.js +3 -2
  40. package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.assets.json +2 -2
  41. package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.template.json +2 -1
  42. package/test/integ.lamkin-noArguments.js.snapshot/manifest.json +1 -1
  43. package/test/integ.lamkin-noArguments.js.snapshot/tree.json +28 -27
  44. package/test/lambda-kinesisstream.test.js +21 -21
@@ -671,7 +671,15 @@
671
671
  "Arn"
672
672
  ]
673
673
  },
674
- "Runtime": "nodejs18.x",
674
+ "Runtime": {
675
+ "Fn::FindInMap": [
676
+ "LatestNodeRuntimeMap",
677
+ {
678
+ "Ref": "AWS::Region"
679
+ },
680
+ "value"
681
+ ]
682
+ },
675
683
  "Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group"
676
684
  },
677
685
  "DependsOn": [
@@ -845,6 +853,7 @@
845
853
  },
846
854
  "Environment": {
847
855
  "Variables": {
856
+ "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
848
857
  "KINESIS_DATASTREAM_NAME": {
849
858
  "Ref": "testlambdakinesisstreamsKinesisStream11A82116"
850
859
  }
@@ -857,7 +866,7 @@
857
866
  "Arn"
858
867
  ]
859
868
  },
860
- "Runtime": "nodejs18.x",
869
+ "Runtime": "nodejs20.x",
861
870
  "TracingConfig": {
862
871
  "Mode": "Active"
863
872
  },
@@ -1005,6 +1014,115 @@
1005
1014
  }
1006
1015
  }
1007
1016
  },
1017
+ "Mappings": {
1018
+ "LatestNodeRuntimeMap": {
1019
+ "af-south-1": {
1020
+ "value": "nodejs20.x"
1021
+ },
1022
+ "ap-east-1": {
1023
+ "value": "nodejs20.x"
1024
+ },
1025
+ "ap-northeast-1": {
1026
+ "value": "nodejs20.x"
1027
+ },
1028
+ "ap-northeast-2": {
1029
+ "value": "nodejs20.x"
1030
+ },
1031
+ "ap-northeast-3": {
1032
+ "value": "nodejs20.x"
1033
+ },
1034
+ "ap-south-1": {
1035
+ "value": "nodejs20.x"
1036
+ },
1037
+ "ap-south-2": {
1038
+ "value": "nodejs20.x"
1039
+ },
1040
+ "ap-southeast-1": {
1041
+ "value": "nodejs20.x"
1042
+ },
1043
+ "ap-southeast-2": {
1044
+ "value": "nodejs20.x"
1045
+ },
1046
+ "ap-southeast-3": {
1047
+ "value": "nodejs20.x"
1048
+ },
1049
+ "ap-southeast-4": {
1050
+ "value": "nodejs20.x"
1051
+ },
1052
+ "ca-central-1": {
1053
+ "value": "nodejs20.x"
1054
+ },
1055
+ "cn-north-1": {
1056
+ "value": "nodejs18.x"
1057
+ },
1058
+ "cn-northwest-1": {
1059
+ "value": "nodejs18.x"
1060
+ },
1061
+ "eu-central-1": {
1062
+ "value": "nodejs20.x"
1063
+ },
1064
+ "eu-central-2": {
1065
+ "value": "nodejs20.x"
1066
+ },
1067
+ "eu-north-1": {
1068
+ "value": "nodejs20.x"
1069
+ },
1070
+ "eu-south-1": {
1071
+ "value": "nodejs20.x"
1072
+ },
1073
+ "eu-south-2": {
1074
+ "value": "nodejs20.x"
1075
+ },
1076
+ "eu-west-1": {
1077
+ "value": "nodejs20.x"
1078
+ },
1079
+ "eu-west-2": {
1080
+ "value": "nodejs20.x"
1081
+ },
1082
+ "eu-west-3": {
1083
+ "value": "nodejs20.x"
1084
+ },
1085
+ "il-central-1": {
1086
+ "value": "nodejs20.x"
1087
+ },
1088
+ "me-central-1": {
1089
+ "value": "nodejs20.x"
1090
+ },
1091
+ "me-south-1": {
1092
+ "value": "nodejs20.x"
1093
+ },
1094
+ "sa-east-1": {
1095
+ "value": "nodejs20.x"
1096
+ },
1097
+ "us-east-1": {
1098
+ "value": "nodejs20.x"
1099
+ },
1100
+ "us-east-2": {
1101
+ "value": "nodejs20.x"
1102
+ },
1103
+ "us-gov-east-1": {
1104
+ "value": "nodejs18.x"
1105
+ },
1106
+ "us-gov-west-1": {
1107
+ "value": "nodejs18.x"
1108
+ },
1109
+ "us-iso-east-1": {
1110
+ "value": "nodejs18.x"
1111
+ },
1112
+ "us-iso-west-1": {
1113
+ "value": "nodejs18.x"
1114
+ },
1115
+ "us-isob-east-1": {
1116
+ "value": "nodejs18.x"
1117
+ },
1118
+ "us-west-1": {
1119
+ "value": "nodejs20.x"
1120
+ },
1121
+ "us-west-2": {
1122
+ "value": "nodejs20.x"
1123
+ }
1124
+ }
1125
+ },
1008
1126
  "Parameters": {
1009
1127
  "BootstrapVersion": {
1010
1128
  "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}/14757bf5638fc12659b51121e61f16dad1b33594745b27aa35a6ea01c87bcf3b.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/a13469466fb3072e6af5ee57648891aa1d964a3c2fa82b0e5562ed4bc7416a09.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -256,6 +256,12 @@
256
256
  "data": "VpcKINESISSTREAMSC07D91B5"
257
257
  }
258
258
  ],
259
+ "/lamkin-existingVpc/LatestNodeRuntimeMap": [
260
+ {
261
+ "type": "aws:cdk:logicalId",
262
+ "data": "LatestNodeRuntimeMap"
263
+ }
264
+ ],
259
265
  "/lamkin-existingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role": [
260
266
  {
261
267
  "type": "aws:cdk:logicalId",