@aws-solutions-constructs/aws-iot-lambda 2.25.0 → 2.27.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 CHANGED
@@ -8,8 +8,8 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.25.0",
12
- "aws-cdk-lib": "^2.37.1",
11
+ "@aws-solutions-constructs/core": "2.27.0",
12
+ "aws-cdk-lib": "^2.50.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -755,6 +755,32 @@
755
755
  }
756
756
  }
757
757
  },
758
+ "aws-cdk-lib.aws_connectcampaigns": {
759
+ "targets": {
760
+ "dotnet": {
761
+ "namespace": "Amazon.CDK.AWS.ConnectCampaigns"
762
+ },
763
+ "java": {
764
+ "package": "software.amazon.awscdk.services.connectcampaigns"
765
+ },
766
+ "python": {
767
+ "module": "aws_cdk.aws_connectcampaigns"
768
+ }
769
+ }
770
+ },
771
+ "aws-cdk-lib.aws_controltower": {
772
+ "targets": {
773
+ "dotnet": {
774
+ "namespace": "Amazon.CDK.AWS.ControlTower"
775
+ },
776
+ "java": {
777
+ "package": "software.amazon.awscdk.services.controltower"
778
+ },
779
+ "python": {
780
+ "module": "aws_cdk.aws_controltower"
781
+ }
782
+ }
783
+ },
758
784
  "aws-cdk-lib.aws_cur": {
759
785
  "targets": {
760
786
  "dotnet": {
@@ -1405,6 +1431,19 @@
1405
1431
  }
1406
1432
  }
1407
1433
  },
1434
+ "aws-cdk-lib.aws_identitystore": {
1435
+ "targets": {
1436
+ "dotnet": {
1437
+ "namespace": "Amazon.CDK.AWS.IdentityStore"
1438
+ },
1439
+ "java": {
1440
+ "package": "software.amazon.awscdk.services.identitystore"
1441
+ },
1442
+ "python": {
1443
+ "module": "aws_cdk.aws_identitystore"
1444
+ }
1445
+ }
1446
+ },
1408
1447
  "aws-cdk-lib.aws_imagebuilder": {
1409
1448
  "targets": {
1410
1449
  "dotnet": {
@@ -1522,6 +1561,19 @@
1522
1561
  }
1523
1562
  }
1524
1563
  },
1564
+ "aws-cdk-lib.aws_iotfleetwise": {
1565
+ "targets": {
1566
+ "dotnet": {
1567
+ "namespace": "Amazon.CDK.AWS.IoTFleetWise"
1568
+ },
1569
+ "java": {
1570
+ "package": "software.amazon.awscdk.services.iotfleetwise"
1571
+ },
1572
+ "python": {
1573
+ "module": "aws_cdk.aws_iotfleetwise"
1574
+ }
1575
+ }
1576
+ },
1525
1577
  "aws-cdk-lib.aws_iotsitewise": {
1526
1578
  "targets": {
1527
1579
  "dotnet": {
@@ -1873,6 +1925,19 @@
1873
1925
  }
1874
1926
  }
1875
1927
  },
1928
+ "aws-cdk-lib.aws_m2": {
1929
+ "targets": {
1930
+ "dotnet": {
1931
+ "namespace": "Amazon.CDK.AWS.M2"
1932
+ },
1933
+ "java": {
1934
+ "package": "software.amazon.awscdk.services.m2"
1935
+ },
1936
+ "python": {
1937
+ "module": "aws_cdk.aws_m2"
1938
+ }
1939
+ }
1940
+ },
1876
1941
  "aws-cdk-lib.aws_macie": {
1877
1942
  "targets": {
1878
1943
  "dotnet": {
@@ -2302,6 +2367,19 @@
2302
2367
  }
2303
2368
  }
2304
2369
  },
2370
+ "aws-cdk-lib.aws_rolesanywhere": {
2371
+ "targets": {
2372
+ "dotnet": {
2373
+ "namespace": "Amazon.CDK.AWS.RolesAnywhere"
2374
+ },
2375
+ "java": {
2376
+ "package": "software.amazon.awscdk.services.rolesanywhere"
2377
+ },
2378
+ "python": {
2379
+ "module": "aws_cdk.aws_rolesanywhere"
2380
+ }
2381
+ }
2382
+ },
2305
2383
  "aws-cdk-lib.aws_route53": {
2306
2384
  "targets": {
2307
2385
  "dotnet": {
@@ -2731,6 +2809,19 @@
2731
2809
  }
2732
2810
  }
2733
2811
  },
2812
+ "aws-cdk-lib.aws_supportapp": {
2813
+ "targets": {
2814
+ "dotnet": {
2815
+ "namespace": "Amazon.CDK.AWS.SupportApp"
2816
+ },
2817
+ "java": {
2818
+ "package": "software.amazon.awscdk.services.supportapp"
2819
+ },
2820
+ "python": {
2821
+ "module": "aws_cdk.aws_supportapp"
2822
+ }
2823
+ }
2824
+ },
2734
2825
  "aws-cdk-lib.aws_synthetics": {
2735
2826
  "targets": {
2736
2827
  "dotnet": {
@@ -3046,7 +3137,7 @@
3046
3137
  },
3047
3138
  "description": "CDK Constructs for AWS IoT to AWS Lambda integration",
3048
3139
  "homepage": "https://github.com/awslabs/aws-solutions-constructs.git",
3049
- "jsiiVersion": "1.67.0 (build 2c027f5)",
3140
+ "jsiiVersion": "1.70.0 (build 03c2f6f)",
3050
3141
  "keywords": [
3051
3142
  "aws",
3052
3143
  "cdk",
@@ -3065,7 +3156,7 @@
3065
3156
  },
3066
3157
  "name": "@aws-solutions-constructs/aws-iot-lambda",
3067
3158
  "readme": {
3068
- "markdown": "# aws-iot-lambda module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_iot_lambda`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-iot-lambda`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.iotlambda`|\n\n## Overview\nThis AWS Solutions Construct implements an AWS IoT MQTT topic rule and an AWS Lambda function pattern.\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { IotToLambdaProps, IotToLambda } from '@aws-solutions-constructs/aws-iot-lambda';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\nconst constructProps: IotToLambdaProps = {\n lambdaFunctionProps: {\n code: lambda.Code.fromAsset(`lambda`),\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler'\n },\n iotTopicRuleProps: {\n topicRulePayload: {\n ruleDisabled: false,\n description: \"Processing of DTC messages from the AWS Connected Vehicle Solution.\",\n sql: \"SELECT * FROM 'connectedcar/dtc/#'\",\n actions: []\n }\n }\n};\n\nnew IotToLambda(this, 'test-iot-lambda-integration', constructProps);\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_iot_lambda import IotToLambdaProps, IotToLambda\nfrom aws_cdk import (\n aws_iot as iot,\n aws_lambda as _lambda,\n Stack\n)\nfrom constructs import Construct\n\nIotToLambda(self, 'test_iot_lambda',\n lambda_function_props=_lambda.FunctionProps(\n code=_lambda.Code.from_asset('lambda'),\n runtime=_lambda.Runtime.PYTHON_3_9,\n handler='index.handler'\n ),\n iot_topic_rule_props=iot.CfnTopicRuleProps(\n topic_rule_payload=iot.CfnTopicRule.TopicRulePayloadProperty(\n rule_disabled=False,\n description=\"Sends data to kinesis data stream\",\n sql=\"SELECT * FROM 'solutions/construct'\",\n actions=[]\n )\n ))\n```\n\nJava\n``` java\nimport software.constructs.Construct;\nimport java.util.List;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.lambda.Runtime;\nimport software.amazon.awscdk.services.iot.*;\nimport software.amazon.awscdk.services.iot.CfnTopicRule.TopicRulePayloadProperty;\nimport software.amazon.awsconstructs.services.iotlambda.*;\n\nnew IotToLambda(this, \"test-iot-lambda-integration\", new IotToLambdaProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_14_X)\n .code(Code.fromAsset(\"lambda\"))\n .handler(\"index.handler\")\n .build())\n .iotTopicRuleProps(new CfnTopicRuleProps.Builder()\n .topicRulePayload(new TopicRulePayloadProperty.Builder()\n .ruleDisabled(false)\n .description(\"Processing of DTC messages from the AWS Connected Vehicle Solution.\")\n .sql(\"SELECT * FROM 'connectedcar/dtc/#'\")\n .actions(List.of())\n .build())\n .build())\n .build());\n```\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|\n|lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|\n|iotTopicRuleProps?|[`iot.CfnTopicRuleProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-iot.CfnTopicRuleProps.html)|User provided CfnTopicRuleProps to override the defaults|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|iotTopicRule|[`iot.CfnTopicRule`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-iot.CfnTopicRule.html)|Returns an instance of iot.CfnTopicRule created by the construct|\n|lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Returns an instance of lambda.Function created by the construct|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon IoT Rule\n* Configure least privilege access IAM role for Amazon IoT\n\n### AWS Lambda Function\n* Configure limited privilege access IAM role for Lambda function\n* Enable reusing connections with Keep-Alive for NodeJs Lambda function\n* Enable X-Ray Tracing\n* Set Environment Variables\n * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)\n\n## Architecture\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved."
3159
+ "markdown": "# aws-iot-lambda module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_iot_lambda`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-iot-lambda`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.iotlambda`|\n\n## Overview\nThis AWS Solutions Construct implements an AWS IoT MQTT topic rule and an AWS Lambda function pattern.\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { IotToLambdaProps, IotToLambda } from '@aws-solutions-constructs/aws-iot-lambda';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\nconst constructProps: IotToLambdaProps = {\n lambdaFunctionProps: {\n code: lambda.Code.fromAsset(`lambda`),\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler'\n },\n iotTopicRuleProps: {\n topicRulePayload: {\n ruleDisabled: false,\n description: \"Processing of DTC messages from the AWS Connected Vehicle Solution.\",\n sql: \"SELECT * FROM 'connectedcar/dtc/#'\",\n actions: []\n }\n }\n};\n\nnew IotToLambda(this, 'test-iot-lambda-integration', constructProps);\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_iot_lambda import IotToLambdaProps, IotToLambda\nfrom aws_cdk import (\n aws_iot as iot,\n aws_lambda as _lambda,\n Stack\n)\nfrom constructs import Construct\n\nIotToLambda(self, 'test_iot_lambda',\n lambda_function_props=_lambda.FunctionProps(\n code=_lambda.Code.from_asset('lambda'),\n runtime=_lambda.Runtime.PYTHON_3_9,\n handler='index.handler'\n ),\n iot_topic_rule_props=iot.CfnTopicRuleProps(\n topic_rule_payload=iot.CfnTopicRule.TopicRulePayloadProperty(\n rule_disabled=False,\n description=\"Sends data to kinesis data stream\",\n sql=\"SELECT * FROM 'solutions/construct'\",\n actions=[]\n )\n ))\n```\n\nJava\n``` java\nimport software.constructs.Construct;\nimport java.util.List;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.lambda.Runtime;\nimport software.amazon.awscdk.services.iot.*;\nimport software.amazon.awscdk.services.iot.CfnTopicRule.TopicRulePayloadProperty;\nimport software.amazon.awsconstructs.services.iotlambda.*;\n\nnew IotToLambda(this, \"test-iot-lambda-integration\", new IotToLambdaProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_14_X)\n .code(Code.fromAsset(\"lambda\"))\n .handler(\"index.handler\")\n .build())\n .iotTopicRuleProps(new CfnTopicRuleProps.Builder()\n .topicRulePayload(new TopicRulePayloadProperty.Builder()\n .ruleDisabled(false)\n .description(\"Processing of DTC messages from the AWS Connected Vehicle Solution.\")\n .sql(\"SELECT * FROM 'connectedcar/dtc/#'\")\n .actions(List.of())\n .build())\n .build())\n .build());\n```\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|\n|lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|\n|iotTopicRuleProps?|[`iot.CfnTopicRuleProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRuleProps.html)|User provided CfnTopicRuleProps to override the defaults|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|iotTopicRule|[`iot.CfnTopicRule`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRule.html)|Returns an instance of iot.CfnTopicRule created by the construct|\n|lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of lambda.Function created by the construct|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon IoT Rule\n* Configure least privilege access IAM role for Amazon IoT\n\n### AWS Lambda Function\n* Configure limited privilege access IAM role for Lambda function\n* Enable reusing connections with Keep-Alive for NodeJs Lambda function\n* Enable X-Ray Tracing\n* Set Environment Variables\n * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)\n\n## Architecture\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved."
3069
3160
  },
3070
3161
  "repository": {
3071
3162
  "directory": "source/patterns/@aws-solutions-constructs/aws-iot-lambda",
@@ -3244,6 +3335,6 @@
3244
3335
  "symbolId": "lib/index:IotToLambdaProps"
3245
3336
  }
3246
3337
  },
3247
- "version": "2.25.0",
3248
- "fingerprint": "M3X5HL1C4AiG77Tq6wRa4S7HYpLI1dWUsDv52sHaJwI="
3338
+ "version": "2.27.0",
3339
+ "fingerprint": "JpN3XcFesCaFMRZKpiGRZXQrNAWTNMIEnvRMmwFVL5c="
3249
3340
  }
package/README.md CHANGED
@@ -112,16 +112,16 @@ new IotToLambda(this, "test-iot-lambda-integration", new IotToLambdaProps.Builde
112
112
 
113
113
  | **Name** | **Type** | **Description** |
114
114
  |:-------------|:----------------|-----------------|
115
- |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
116
- |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
117
- |iotTopicRuleProps?|[`iot.CfnTopicRuleProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-iot.CfnTopicRuleProps.html)|User provided CfnTopicRuleProps to override the defaults|
115
+ |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
116
+ |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
117
+ |iotTopicRuleProps?|[`iot.CfnTopicRuleProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRuleProps.html)|User provided CfnTopicRuleProps to override the defaults|
118
118
 
119
119
  ## Pattern Properties
120
120
 
121
121
  | **Name** | **Type** | **Description** |
122
122
  |:-------------|:----------------|-----------------|
123
- |iotTopicRule|[`iot.CfnTopicRule`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-iot.CfnTopicRule.html)|Returns an instance of iot.CfnTopicRule created by the construct|
124
- |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Returns an instance of lambda.Function created by the construct|
123
+ |iotTopicRule|[`iot.CfnTopicRule`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRule.html)|Returns an instance of iot.CfnTopicRule created by the construct|
124
+ |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of lambda.Function created by the construct|
125
125
 
126
126
  ## Default settings
127
127
 
package/lib/index.js CHANGED
@@ -41,5 +41,5 @@ class IotToLambda extends constructs_1.Construct {
41
41
  }
42
42
  exports.IotToLambda = IotToLambda;
43
43
  _a = JSII_RTTI_SYMBOL_1;
44
- IotToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-iot-lambda.IotToLambda", version: "2.25.0" };
44
+ IotToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-iot-lambda.IotToLambda", version: "2.27.0" };
45
45
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQWNBLDJDQUEyQztBQUMzQywyQ0FBMkM7QUFDM0Msd0ZBQXdGO0FBQ3hGLDJDQUF1QztBQUN2QywyREFBMkQ7QUFDM0QseURBQStEO0FBMEIvRCxNQUFhLFdBQVksU0FBUSxzQkFBUztJQUl4Qzs7Ozs7OztPQU9HO0lBQ0gsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUF1QjtRQUMvRCxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ2pCLFFBQVEsQ0FBQyxVQUFVLEN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zID0gZGVmYXVsdHMuRGVmYXVsdENmblRvcGljUnVsZVByb3BzKFt7XG4gICAgICBsYW1iZGE6IHtcbiAgICAgICAgZnVuY3Rpb25Bcm46IHRoaXMubGFtYmRhRnVuY3Rpb24uZnVuY3Rpb25Bcm5cbiAgICAgIH1cbiAgICB9XSk7XG4gICAgY29uc3QgaW90VG9waWNQcm9wcyA9IG92ZXJyaWRlUHJvcHMoZGVmYXVsdElvdFRvcGljUHJvcHMsIHByb3BzLmlvdFRvcGljUnVsZVByb3BzLCB0cnVlKTtcblxuICAgIC8vIENyZWF0ZSB0aGUgSW9UIHRvcGljIHJ1bGVcbiAgICB0aGlzLmlvdFRvcGljUnVsZSA9IG5ldyBpb3QuQ2ZuVG9waWNSdWxlKHRoaXMsICdJb3RUb3BpYycsIGlvdFRvcGljUHJvcHMpO1xuXG4gICAgZGVmYXVsdHMuYWRkUGVybWlzc2lvbih0aGlzLmxhbWJkYUZ1bmN0aW9uLCBcIkF3c0lvdExhbWJkYUludm9rZVBlcm1pc3Npb25cIiwge1xuICAgICAgcHJpbmNpcGFsOiBuZXcgaWFtLlNlcnZpY2VQcmluY2lwYWwoJ2lvdC5hbWF6b25hd3MuY29tJyksXG4gICAgICBzb3VyY2VBcm46IHRoaXMuaW90VG9waWNSdWxlLmF0dHJBcm5cbiAgICB9KTtcbiAgfVxufVxuIl19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-iot-lambda",
3
- "version": "2.25.0",
3
+ "version": "2.27.0",
4
4
  "description": "CDK Constructs for AWS IoT to AWS Lambda integration",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -53,13 +53,13 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@aws-solutions-constructs/core": "2.25.0"
56
+ "@aws-solutions-constructs/core": "2.27.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-cdk/assert": "2.37.1",
59
+ "@aws-cdk/assert": "2.50.0",
60
60
  "@types/jest": "^27.4.0",
61
61
  "@types/node": "^10.3.0",
62
- "aws-cdk-lib": "2.37.1",
62
+ "aws-cdk-lib": "2.50.0",
63
63
  "constructs": "^10.0.0"
64
64
  },
65
65
  "jest": {
@@ -77,8 +77,8 @@
77
77
  ]
78
78
  },
79
79
  "peerDependencies": {
80
- "@aws-solutions-constructs/core": "2.25.0",
81
- "aws-cdk-lib": "^2.37.1",
80
+ "@aws-solutions-constructs/core": "2.27.0",
81
+ "aws-cdk-lib": "^2.50.0",
82
82
  "constructs": "^10.0.0"
83
83
  },
84
84
  "keywords": [