@aws-solutions-constructs/aws-iot-lambda 2.95.1 → 2.97.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 +4392 -58
- package/README.adoc +4 -5
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/package.json +6 -6
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/asset.0772ffe05bd3b2e012dc5086ab3b6dd03c8a0268fc1c81326f5e72b0a4c6b51e/index.js +23 -0
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/cdk.out +1 -1
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/integ.json +3 -2
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/iotlam-iot-lambda-new-func.assets.json +10 -8
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/iotlam-iot-lambda-new-func.template.json +2 -2
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/iotlamiotlambdanewfuncIntegDefaultTestDeployAssert4A7D5BFD.assets.json +3 -2
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/manifest.json +496 -12
- package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/tree.json +1 -1
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/asset.0772ffe05bd3b2e012dc5086ab3b6dd03c8a0268fc1c81326f5e72b0a4c6b51e/index.js +23 -0
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/cdk.out +1 -1
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/integ.json +3 -2
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/iotlam-iot-lambda-use-existing-func.assets.json +10 -8
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/iotlam-iot-lambda-use-existing-func.template.json +2 -2
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/iotlamiotlambdauseexistingfuncIntegDefaultTestDeployAssert1472E245.assets.json +3 -2
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/manifest.json +496 -12
- package/test/integ.iotlam-iot-lambda-use-existing-func.js.snapshot/tree.json +1 -1
package/README.adoc
CHANGED
|
@@ -49,7 +49,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
|
|
|
49
49
|
const constructProps: IotToLambdaProps = {
|
|
50
50
|
lambdaFunctionProps: {
|
|
51
51
|
code: lambda.Code.fromAsset(`lambda`),
|
|
52
|
-
runtime: lambda.Runtime.
|
|
52
|
+
runtime: lambda.Runtime.NODEJS_22_X,
|
|
53
53
|
handler: 'index.handler'
|
|
54
54
|
},
|
|
55
55
|
iotTopicRuleProps: {
|
|
@@ -110,7 +110,7 @@ import software.amazon.awsconstructs.services.iotlambda.*;
|
|
|
110
110
|
|
|
111
111
|
new IotToLambda(this, "test-iot-lambda-integration", new IotToLambdaProps.Builder()
|
|
112
112
|
.lambdaFunctionProps(new FunctionProps.Builder()
|
|
113
|
-
.runtime(Runtime.
|
|
113
|
+
.runtime(Runtime.NODEJS_22_X)
|
|
114
114
|
.code(Code.fromAsset("lambda"))
|
|
115
115
|
.handler("index.handler")
|
|
116
116
|
.build())
|
|
@@ -133,13 +133,12 @@ new IotToLambda(this, "test-iot-lambda-integration", new IotToLambdaProps.Builde
|
|
|
133
133
|
|*Name* |*Type* |*Description*
|
|
134
134
|
|existingLambdaObj?
|
|
135
135
|
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html[`lambda.Function`]
|
|
136
|
-
|
|
|
136
|
+
|Optional - instance of an existing Lambda Function object, providing both this and
|
|
137
137
|
`lambdaFunctionProps` will cause an error.
|
|
138
138
|
|
|
139
139
|
|lambdaFunctionProps?
|
|
140
140
|
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html[`lambda.FunctionProps`]
|
|
141
|
-
|
|
|
142
|
-
function.
|
|
141
|
+
|Optional - user provided props to override the default props for the Lambda function. Providing both this and `existingLambdaObj` is an error.
|
|
143
142
|
|
|
144
143
|
|iotTopicRuleProps?
|
|
145
144
|
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRuleProps.html[`iot.CfnTopicRuleProps`]
|
package/lib/index.d.ts
CHANGED
|
@@ -18,13 +18,13 @@ import { Construct } from 'constructs';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface IotToLambdaProps {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Optional - instance of an existing Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
|
22
22
|
*
|
|
23
23
|
* @default - None
|
|
24
24
|
*/
|
|
25
25
|
readonly existingLambdaObj?: lambda.Function;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Optional - user provided props to override the default props for the Lambda function. Providing both this and `existingLambdaObj` is an error.
|
|
28
28
|
*
|
|
29
29
|
* @default - Default props are used
|
|
30
30
|
*/
|
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.
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
44
|
+
IotToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-iot-lambda.IotToLambda", version: "2.97.0" };
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQWNBLDJDQUEyQztBQUMzQywyQ0FBMkM7QUFDM0Msd0ZBQXdGO0FBQ3hGLDJDQUF1QztBQUN2QywyREFBMkQ7QUFD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VxufVxuIl19
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-solutions-constructs/aws-iot-lambda",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.97.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",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@aws-solutions-constructs/core": "2.
|
|
58
|
+
"@aws-solutions-constructs/core": "2.97.0",
|
|
59
59
|
"constructs": "^10.0.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-cdk/integ-tests-alpha": "2.
|
|
62
|
+
"@aws-cdk/integ-tests-alpha": "2.233.0-alpha.0",
|
|
63
63
|
"@types/node": "^10.3.0",
|
|
64
64
|
"constructs": "^10.0.0",
|
|
65
|
-
"aws-cdk-lib": "2.
|
|
65
|
+
"aws-cdk-lib": "2.233.0"
|
|
66
66
|
},
|
|
67
67
|
"jest": {
|
|
68
68
|
"moduleFileExtensions": [
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@aws-solutions-constructs/core": "2.
|
|
82
|
+
"@aws-solutions-constructs/core": "2.97.0",
|
|
83
83
|
"constructs": "^10.0.0",
|
|
84
|
-
"aws-cdk-lib": "^2.
|
|
84
|
+
"aws-cdk-lib": "^2.233.0"
|
|
85
85
|
},
|
|
86
86
|
"keywords": [
|
|
87
87
|
"aws",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
|
|
5
|
+
* with the License. A copy of the License is located at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
|
|
10
|
+
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
|
|
11
|
+
* and limitations under the License.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
console.log('Loading function');
|
|
15
|
+
|
|
16
|
+
exports.handler = async (event, context) => {
|
|
17
|
+
console.log('Received event:', JSON.stringify(event, null, 2));
|
|
18
|
+
return {
|
|
19
|
+
statusCode: 200,
|
|
20
|
+
headers: { 'Content-Type': 'text/plain' },
|
|
21
|
+
body: `Hello from AWS Solutions Constructs! You've hit ${event.path}\n`
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"48.0.0"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "48.0.0",
|
|
3
3
|
"testCases": {
|
|
4
4
|
"iotlam-iot-lambda-new-func/Integ/DefaultTest": {
|
|
5
5
|
"stacks": [
|
|
@@ -8,5 +8,6 @@
|
|
|
8
8
|
"assertionStack": "iotlam-iot-lambda-new-func/Integ/DefaultTest/DeployAssert",
|
|
9
9
|
"assertionStackName": "iotlamiotlambdanewfuncIntegDefaultTestDeployAssert4A7D5BFD"
|
|
10
10
|
}
|
|
11
|
-
}
|
|
11
|
+
},
|
|
12
|
+
"minimumCliVersion": "2.1029.2"
|
|
12
13
|
}
|
package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/iotlam-iot-lambda-new-func.assets.json
CHANGED
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "48.0.0",
|
|
3
3
|
"files": {
|
|
4
|
-
"
|
|
4
|
+
"0772ffe05bd3b2e012dc5086ab3b6dd03c8a0268fc1c81326f5e72b0a4c6b51e": {
|
|
5
|
+
"displayName": "test-iot-lambda-integration/LambdaFunction/Code",
|
|
5
6
|
"source": {
|
|
6
|
-
"path": "asset.
|
|
7
|
+
"path": "asset.0772ffe05bd3b2e012dc5086ab3b6dd03c8a0268fc1c81326f5e72b0a4c6b51e",
|
|
7
8
|
"packaging": "zip"
|
|
8
9
|
},
|
|
9
10
|
"destinations": {
|
|
10
|
-
"current_account-current_region": {
|
|
11
|
+
"current_account-current_region-1a238803": {
|
|
11
12
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
-
"objectKey": "
|
|
13
|
+
"objectKey": "0772ffe05bd3b2e012dc5086ab3b6dd03c8a0268fc1c81326f5e72b0a4c6b51e.zip",
|
|
13
14
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
|
-
"
|
|
18
|
+
"70fec1235ec199cd83630f13be032070f2271827c7adcc9fdd1438b867496d5e": {
|
|
19
|
+
"displayName": "iotlam-iot-lambda-new-func Template",
|
|
18
20
|
"source": {
|
|
19
21
|
"path": "iotlam-iot-lambda-new-func.template.json",
|
|
20
22
|
"packaging": "file"
|
|
21
23
|
},
|
|
22
24
|
"destinations": {
|
|
23
|
-
"current_account-current_region": {
|
|
25
|
+
"current_account-current_region-cbfce55b": {
|
|
24
26
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
25
|
-
"objectKey": "
|
|
27
|
+
"objectKey": "70fec1235ec199cd83630f13be032070f2271827c7adcc9fdd1438b867496d5e.json",
|
|
26
28
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
27
29
|
}
|
|
28
30
|
}
|
package/test/integ.iotlam-iot-lambda-new-func.js.snapshot/iotlam-iot-lambda-new-func.template.json
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"S3Bucket": {
|
|
70
70
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
71
71
|
},
|
|
72
|
-
"S3Key": "
|
|
72
|
+
"S3Key": "0772ffe05bd3b2e012dc5086ab3b6dd03c8a0268fc1c81326f5e72b0a4c6b51e.zip"
|
|
73
73
|
},
|
|
74
74
|
"Environment": {
|
|
75
75
|
"Variables": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"Arn"
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
|
-
"Runtime": "
|
|
86
|
+
"Runtime": "nodejs22.x",
|
|
87
87
|
"TracingConfig": {
|
|
88
88
|
"Mode": "Active"
|
|
89
89
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "48.0.0",
|
|
3
3
|
"files": {
|
|
4
4
|
"21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
|
|
5
|
+
"displayName": "iotlamiotlambdanewfuncIntegDefaultTestDeployAssert4A7D5BFD Template",
|
|
5
6
|
"source": {
|
|
6
7
|
"path": "iotlamiotlambdanewfuncIntegDefaultTestDeployAssert4A7D5BFD.template.json",
|
|
7
8
|
"packaging": "file"
|
|
8
9
|
},
|
|
9
10
|
"destinations": {
|
|
10
|
-
"current_account-current_region": {
|
|
11
|
+
"current_account-current_region-d8d86b35": {
|
|
11
12
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
13
|
"objectKey": "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
|
|
13
14
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|