@aws-cdk/aws-iot-alpha 2.40.0-alpha.0 → 2.42.0-alpha.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 +42 -3
- package/.jsii.tabl.json.gz +0 -0
- package/lib/iot-sql.js +1 -1
- package/lib/topic-rule.js +1 -1
- package/package.json +8 -8
- package/.jsii.tabl.json +0 -575
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.42.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -730,6 +730,19 @@
|
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
732
|
},
|
|
733
|
+
"aws-cdk-lib.aws_controltower": {
|
|
734
|
+
"targets": {
|
|
735
|
+
"dotnet": {
|
|
736
|
+
"namespace": "Amazon.CDK.AWS.ControlTower"
|
|
737
|
+
},
|
|
738
|
+
"java": {
|
|
739
|
+
"package": "software.amazon.awscdk.services.controltower"
|
|
740
|
+
},
|
|
741
|
+
"python": {
|
|
742
|
+
"module": "aws_cdk.aws_controltower"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
},
|
|
733
746
|
"aws-cdk-lib.aws_cur": {
|
|
734
747
|
"targets": {
|
|
735
748
|
"dotnet": {
|
|
@@ -1848,6 +1861,19 @@
|
|
|
1848
1861
|
}
|
|
1849
1862
|
}
|
|
1850
1863
|
},
|
|
1864
|
+
"aws-cdk-lib.aws_m2": {
|
|
1865
|
+
"targets": {
|
|
1866
|
+
"dotnet": {
|
|
1867
|
+
"namespace": "Amazon.CDK.AWS.M2"
|
|
1868
|
+
},
|
|
1869
|
+
"java": {
|
|
1870
|
+
"package": "software.amazon.awscdk.services.m2"
|
|
1871
|
+
},
|
|
1872
|
+
"python": {
|
|
1873
|
+
"module": "aws_cdk.aws_m2"
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
},
|
|
1851
1877
|
"aws-cdk-lib.aws_macie": {
|
|
1852
1878
|
"targets": {
|
|
1853
1879
|
"dotnet": {
|
|
@@ -2706,6 +2732,19 @@
|
|
|
2706
2732
|
}
|
|
2707
2733
|
}
|
|
2708
2734
|
},
|
|
2735
|
+
"aws-cdk-lib.aws_supportapp": {
|
|
2736
|
+
"targets": {
|
|
2737
|
+
"dotnet": {
|
|
2738
|
+
"namespace": "Amazon.CDK.AWS.SupportApp"
|
|
2739
|
+
},
|
|
2740
|
+
"java": {
|
|
2741
|
+
"package": "software.amazon.awscdk.services.supportapp"
|
|
2742
|
+
},
|
|
2743
|
+
"python": {
|
|
2744
|
+
"module": "aws_cdk.aws_supportapp"
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
},
|
|
2709
2748
|
"aws-cdk-lib.aws_synthetics": {
|
|
2710
2749
|
"targets": {
|
|
2711
2750
|
"dotnet": {
|
|
@@ -3024,7 +3063,7 @@
|
|
|
3024
3063
|
"stability": "experimental"
|
|
3025
3064
|
},
|
|
3026
3065
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
3027
|
-
"jsiiVersion": "1.
|
|
3066
|
+
"jsiiVersion": "1.67.0 (build 2c027f5)",
|
|
3028
3067
|
"keywords": [
|
|
3029
3068
|
"aws",
|
|
3030
3069
|
"cdk",
|
|
@@ -3685,6 +3724,6 @@
|
|
|
3685
3724
|
"symbolId": "lib/topic-rule:TopicRuleProps"
|
|
3686
3725
|
}
|
|
3687
3726
|
},
|
|
3688
|
-
"version": "2.
|
|
3727
|
+
"version": "2.42.0-alpha.0",
|
|
3689
3728
|
"fingerprint": "**********"
|
|
3690
3729
|
}
|
|
Binary file
|
package/lib/iot-sql.js
CHANGED
|
@@ -38,7 +38,7 @@ class IotSql {
|
|
|
38
38
|
}
|
|
39
39
|
exports.IotSql = IotSql;
|
|
40
40
|
_a = JSII_RTTI_SYMBOL_1;
|
|
41
|
-
IotSql[_a] = { fqn: "@aws-cdk/aws-iot-alpha.IotSql", version: "2.
|
|
41
|
+
IotSql[_a] = { fqn: "@aws-cdk/aws-iot-alpha.IotSql", version: "2.42.0-alpha.0" };
|
|
42
42
|
class IotSqlImpl extends IotSql {
|
|
43
43
|
constructor(version, sql) {
|
|
44
44
|
super();
|
package/lib/topic-rule.js
CHANGED
|
@@ -98,5 +98,5 @@ class TopicRule extends aws_cdk_lib_1.Resource {
|
|
|
98
98
|
}
|
|
99
99
|
exports.TopicRule = TopicRule;
|
|
100
100
|
_a = JSII_RTTI_SYMBOL_1;
|
|
101
|
-
TopicRule[_a] = { fqn: "@aws-cdk/aws-iot-alpha.TopicRule", version: "2.
|
|
101
|
+
TopicRule[_a] = { fqn: "@aws-cdk/aws-iot-alpha.TopicRule", version: "2.42.0-alpha.0" };
|
|
102
102
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9waWMtcnVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRvcGljLXJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsNkNBQTBFO0FBSTFFLGlEQUFtRDtBQW9FbkQ7O0dBRUc7QUFDSCxNQUFhLFNBQVUsU0FBUSxzQkFBUTtJQXNDckMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFxQjtRQUM3RCxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRTtZQUNmLFlBQVksRUFBRSxLQUFLLENBQUMsYUFBYTtTQUNsQyxDQUFDLENBQUM7UUFMWSxZQUFPLEdBQWtDLEVBQUUsQ0FBQzs7Ozs7OytDQXBDbEQsU0FBUzs7OztRQTJDbEIsTUFBTSxTQUFTLEdBQUcsS0FBSyxDQUFDLEdBQUcsQ0FBQyxJQ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UucmVmKTtcblxuICAgIHByb3BzLmFjdGlvbnM/LmZvckVhY2goYWN0aW9uID0+IHtcbiAgICAgIHRoaXMuYWRkQWN0aW9uKGFjdGlvbik7XG4gICAgfSk7XG4gIH1cblxuICAvKipcbiAgICogQWRkIGEgYWN0aW9uIHRvIHRoZSB0b3BpYyBydWxlLlxuICAgKlxuICAgKiBAcGFyYW0gYWN0aW9uIHRoZSBhY3Rpb24gdG8gYXNzb2NpYXRlIHdpdGggdGhlIHRvcGljIHJ1bGUuXG4gICAqL1xuICBwdWJsaWMgYWRkQWN0aW9uKGFjdGlvbjogSUFjdGlvbik6IHZvaWQge1xuICAgIGNvbnN0IHsgY29uZmlndXJhdGlvbiB9ID0gYWN0aW9uLl9iaW5kKHRoaXMpO1xuXG4gICAgY29uc3Qga2V5cyA9IE9iamVjdC5rZXlzKGNvbmZpZ3VyYXRpb24pO1xuICAgIGlmIChrZXlzLmxlbmd0aCA9PT0gMCkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdBbiBhY3Rpb24gcHJvcGVydHkgY2Fubm90IGJlIGFuIGVtcHR5IG9iamVjdC4nKTtcbiAgICB9XG4gICAgaWYgKGtleXMubGVuZ3RoID4gMSkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGBBbiBhY3Rpb24gcHJvcGVydHkgY2Fubm90IGhhdmUgbXVsdGlwbGUga2V5cywgcmVjZWl2ZWQ6ICR7a2V5c31gKTtcbiAgICB9XG5cbiAgICB0aGlzLmFjdGlvbnMucHVzaChjb25maWd1cmF0aW9uKTtcbiAgfVxufVxuIl19
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-iot-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.42.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for AWS::IoT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -81,20 +81,20 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
85
|
-
"@aws-cdk/integ-runner": "2.
|
|
86
|
-
"@aws-cdk/cfn2ts": "2.
|
|
87
|
-
"@aws-cdk/pkglint": "2.
|
|
84
|
+
"@aws-cdk/cdk-build-tools": "2.42.0",
|
|
85
|
+
"@aws-cdk/integ-runner": "2.42.0",
|
|
86
|
+
"@aws-cdk/cfn2ts": "2.42.0",
|
|
87
|
+
"@aws-cdk/pkglint": "2.42.0",
|
|
88
88
|
"@types/jest": "^27.5.2",
|
|
89
89
|
"jest": "^27.5.1",
|
|
90
|
-
"aws-cdk-lib": "2.
|
|
90
|
+
"aws-cdk-lib": "2.42.0",
|
|
91
91
|
"constructs": "^10.0.0",
|
|
92
|
-
"@aws-cdk/integ-tests-alpha": "2.
|
|
92
|
+
"@aws-cdk/integ-tests-alpha": "2.42.0-alpha.0"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {},
|
|
95
95
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
96
96
|
"peerDependencies": {
|
|
97
|
-
"aws-cdk-lib": "^2.
|
|
97
|
+
"aws-cdk-lib": "^2.42.0",
|
|
98
98
|
"constructs": "^10.0.0"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|
package/.jsii.tabl.json
DELETED
|
@@ -1,575 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "2",
|
|
3
|
-
"toolVersion": "1.66.0",
|
|
4
|
-
"snippets": {
|
|
5
|
-
"c0dd3a8abe50054a48d9630d82e6b4b266c7578cc43d525bdafaad328cbb62d9": {
|
|
6
|
-
"translations": {
|
|
7
|
-
"python": {
|
|
8
|
-
"source": "func = lambda_.Function(self, \"MyFunction\",\n runtime=lambda_.Runtime.NODEJS_14_X,\n handler=\"index.handler\",\n code=lambda_.Code.from_inline(\"\"\"\n exports.handler = (event) => {\n console.log(\"It is test for lambda action of AWS IoT Rule.\", event);\n };\"\"\")\n)\n\niot.TopicRule(self, \"TopicRule\",\n topic_rule_name=\"MyTopicRule\", # optional\n description=\"invokes the lambda function\", # optional\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n actions=[actions.LambdaFunctionAction(func)]\n)",
|
|
9
|
-
"version": "2"
|
|
10
|
-
},
|
|
11
|
-
"csharp": {
|
|
12
|
-
"source": "Function func = new Function(this, \"MyFunction\", new FunctionProps {\n Runtime = Runtime.NODEJS_14_X,\n Handler = \"index.handler\",\n Code = Code.FromInline(@\"\n exports.handler = (event) => {\n console.log(\"\"It is test for lambda action of AWS IoT Rule.\"\", event);\n };\")\n});\n\nnew TopicRule(this, \"TopicRule\", new TopicRuleProps {\n TopicRuleName = \"MyTopicRule\", // optional\n Description = \"invokes the lambda function\", // optional\n Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n Actions = new [] { new LambdaFunctionAction(func) }\n});",
|
|
13
|
-
"version": "1"
|
|
14
|
-
},
|
|
15
|
-
"java": {
|
|
16
|
-
"source": "Function func = Function.Builder.create(this, \"MyFunction\")\n .runtime(Runtime.NODEJS_14_X)\n .handler(\"index.handler\")\n .code(Code.fromInline(\"\\n exports.handler = (event) => {\\n console.log(\\\"It is test for lambda action of AWS IoT Rule.\\\", event);\\n };\"))\n .build();\n\nTopicRule.Builder.create(this, \"TopicRule\")\n .topicRuleName(\"MyTopicRule\") // optional\n .description(\"invokes the lambda function\") // optional\n .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"))\n .actions(List.of(new LambdaFunctionAction(func)))\n .build();",
|
|
17
|
-
"version": "1"
|
|
18
|
-
},
|
|
19
|
-
"go": {
|
|
20
|
-
"source": "func := lambda.NewFunction(this, jsii.String(\"MyFunction\"), &functionProps{\n\truntime: lambda.runtime_NODEJS_14_X(),\n\thandler: jsii.String(\"index.handler\"),\n\tcode: lambda.code.fromInline(jsii.String(\"\\n exports.handler = (event) => {\\n console.log(\\\"It is test for lambda action of AWS IoT Rule.\\\", event);\\n };\")),\n})\n\niot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\ttopicRuleName: jsii.String(\"MyTopicRule\"),\n\t // optional\n\tdescription: jsii.String(\"invokes the lambda function\"),\n\t // optional\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewLambdaFunctionAction(func),\n\t},\n})",
|
|
21
|
-
"version": "1"
|
|
22
|
-
},
|
|
23
|
-
"$": {
|
|
24
|
-
"source": "const func = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline(`\n exports.handler = (event) => {\n console.log(\"It is test for lambda action of AWS IoT Rule.\", event);\n };`\n ),\n});\n\nnew iot.TopicRule(this, 'TopicRule', {\n topicRuleName: 'MyTopicRule', // optional\n description: 'invokes the lambda function', // optional\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
|
|
25
|
-
"version": "0"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"location": {
|
|
29
|
-
"api": {
|
|
30
|
-
"api": "moduleReadme",
|
|
31
|
-
"moduleFqn": "@aws-cdk/aws-iot-alpha"
|
|
32
|
-
},
|
|
33
|
-
"field": {
|
|
34
|
-
"field": "markdown",
|
|
35
|
-
"line": 26
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"didCompile": true,
|
|
39
|
-
"fqnsReferenced": [
|
|
40
|
-
"@aws-cdk/aws-iot-actions-alpha.LambdaFunctionAction",
|
|
41
|
-
"@aws-cdk/aws-iot-alpha.IotSql",
|
|
42
|
-
"@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
|
|
43
|
-
"@aws-cdk/aws-iot-alpha.TopicRule",
|
|
44
|
-
"@aws-cdk/aws-iot-alpha.TopicRuleProps",
|
|
45
|
-
"aws-cdk-lib.aws_lambda.Code",
|
|
46
|
-
"aws-cdk-lib.aws_lambda.Code#fromInline",
|
|
47
|
-
"aws-cdk-lib.aws_lambda.Function",
|
|
48
|
-
"aws-cdk-lib.aws_lambda.FunctionProps",
|
|
49
|
-
"aws-cdk-lib.aws_lambda.IFunction",
|
|
50
|
-
"aws-cdk-lib.aws_lambda.Runtime",
|
|
51
|
-
"aws-cdk-lib.aws_lambda.Runtime#NODEJS_14_X",
|
|
52
|
-
"constructs.Construct"
|
|
53
|
-
],
|
|
54
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst func = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline(`\n exports.handler = (event) => {\n console.log(\"It is test for lambda action of AWS IoT Rule.\", event);\n };`\n ),\n});\n\nnew iot.TopicRule(this, 'TopicRule', {\n topicRuleName: 'MyTopicRule', // optional\n description: 'invokes the lambda function', // optional\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
55
|
-
"syntaxKindCounter": {
|
|
56
|
-
"10": 6,
|
|
57
|
-
"14": 1,
|
|
58
|
-
"75": 24,
|
|
59
|
-
"104": 2,
|
|
60
|
-
"192": 1,
|
|
61
|
-
"193": 2,
|
|
62
|
-
"194": 9,
|
|
63
|
-
"196": 2,
|
|
64
|
-
"197": 3,
|
|
65
|
-
"225": 1,
|
|
66
|
-
"226": 1,
|
|
67
|
-
"242": 1,
|
|
68
|
-
"243": 1,
|
|
69
|
-
"281": 7
|
|
70
|
-
},
|
|
71
|
-
"fqnsFingerprint": "b18dbd7418f22b1a8357f3fe0dc6a471d9ee0c396eca18593268f2a5269a3301"
|
|
72
|
-
},
|
|
73
|
-
"8d423264b18bf84ebd96ef345dff9fb3f2c3344e6d7f2b0cf7b8f8b5bd3b740b": {
|
|
74
|
-
"translations": {
|
|
75
|
-
"python": {
|
|
76
|
-
"source": "# func: lambda.Function\n\n\ntopic_rule = iot.TopicRule(self, \"TopicRule\",\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\")\n)\ntopic_rule.add_action(actions.LambdaFunctionAction(func))",
|
|
77
|
-
"version": "2"
|
|
78
|
-
},
|
|
79
|
-
"csharp": {
|
|
80
|
-
"source": "Function func;\n\n\nTopicRule topicRule = new TopicRule(this, \"TopicRule\", new TopicRuleProps {\n Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\")\n});\ntopicRule.AddAction(new LambdaFunctionAction(func));",
|
|
81
|
-
"version": "1"
|
|
82
|
-
},
|
|
83
|
-
"java": {
|
|
84
|
-
"source": "Function func;\n\n\nTopicRule topicRule = TopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"))\n .build();\ntopicRule.addAction(new LambdaFunctionAction(func));",
|
|
85
|
-
"version": "1"
|
|
86
|
-
},
|
|
87
|
-
"go": {
|
|
88
|
-
"source": "var func function\n\n\ntopicRule := iot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\")),\n})\ntopicRule.addAction(actions.NewLambdaFunctionAction(func))",
|
|
89
|
-
"version": "1"
|
|
90
|
-
},
|
|
91
|
-
"$": {
|
|
92
|
-
"source": "declare const func: lambda.Function;\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n});\ntopicRule.addAction(new actions.LambdaFunctionAction(func));",
|
|
93
|
-
"version": "0"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"location": {
|
|
97
|
-
"api": {
|
|
98
|
-
"api": "moduleReadme",
|
|
99
|
-
"moduleFqn": "@aws-cdk/aws-iot-alpha"
|
|
100
|
-
},
|
|
101
|
-
"field": {
|
|
102
|
-
"field": "markdown",
|
|
103
|
-
"line": 47
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"didCompile": true,
|
|
107
|
-
"fqnsReferenced": [
|
|
108
|
-
"@aws-cdk/aws-iot-actions-alpha.LambdaFunctionAction",
|
|
109
|
-
"@aws-cdk/aws-iot-alpha.IAction",
|
|
110
|
-
"@aws-cdk/aws-iot-alpha.IotSql",
|
|
111
|
-
"@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
|
|
112
|
-
"@aws-cdk/aws-iot-alpha.TopicRule",
|
|
113
|
-
"@aws-cdk/aws-iot-alpha.TopicRule#addAction",
|
|
114
|
-
"@aws-cdk/aws-iot-alpha.TopicRuleProps",
|
|
115
|
-
"aws-cdk-lib.aws_lambda.IFunction",
|
|
116
|
-
"constructs.Construct"
|
|
117
|
-
],
|
|
118
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const func: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n});\ntopicRule.addAction(new actions.LambdaFunctionAction(func));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
119
|
-
"syntaxKindCounter": {
|
|
120
|
-
"10": 2,
|
|
121
|
-
"75": 15,
|
|
122
|
-
"104": 1,
|
|
123
|
-
"130": 1,
|
|
124
|
-
"153": 1,
|
|
125
|
-
"169": 1,
|
|
126
|
-
"193": 1,
|
|
127
|
-
"194": 5,
|
|
128
|
-
"196": 2,
|
|
129
|
-
"197": 2,
|
|
130
|
-
"225": 2,
|
|
131
|
-
"226": 1,
|
|
132
|
-
"242": 2,
|
|
133
|
-
"243": 2,
|
|
134
|
-
"281": 1,
|
|
135
|
-
"290": 1
|
|
136
|
-
},
|
|
137
|
-
"fqnsFingerprint": "d27273df43a246724ca3fcd3aeafc37f2d6de29fba9103208eb7ac06c6f996bf"
|
|
138
|
-
},
|
|
139
|
-
"d00de3b61505786f1520d5a3ae725275f8b4e2a343cf3712973b8463c04ad016": {
|
|
140
|
-
"translations": {
|
|
141
|
-
"python": {
|
|
142
|
-
"source": "import aws_cdk.aws_logs as logs\n\n\nlog_group = logs.LogGroup(self, \"MyLogGroup\")\n\niot.TopicRule(self, \"TopicRule\",\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n error_action=actions.CloudWatchLogsAction(log_group)\n)",
|
|
143
|
-
"version": "2"
|
|
144
|
-
},
|
|
145
|
-
"csharp": {
|
|
146
|
-
"source": "using Amazon.CDK.AWS.Logs;\n\n\nLogGroup logGroup = new LogGroup(this, \"MyLogGroup\");\n\nnew TopicRule(this, \"TopicRule\", new TopicRuleProps {\n Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n ErrorAction = new CloudWatchLogsAction(logGroup)\n});",
|
|
147
|
-
"version": "1"
|
|
148
|
-
},
|
|
149
|
-
"java": {
|
|
150
|
-
"source": "import software.amazon.awscdk.services.logs.*;\n\n\nLogGroup logGroup = new LogGroup(this, \"MyLogGroup\");\n\nTopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"))\n .errorAction(new CloudWatchLogsAction(logGroup))\n .build();",
|
|
151
|
-
"version": "1"
|
|
152
|
-
},
|
|
153
|
-
"go": {
|
|
154
|
-
"source": "import logs \"github.com/aws/aws-cdk-go/awscdk\"\n\n\nlogGroup := logs.NewLogGroup(this, jsii.String(\"MyLogGroup\"))\n\niot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\")),\n\terrorAction: actions.NewCloudWatchLogsAction(logGroup),\n})",
|
|
155
|
-
"version": "1"
|
|
156
|
-
},
|
|
157
|
-
"$": {
|
|
158
|
-
"source": "import * as logs from 'aws-cdk-lib/aws-logs';\n\nconst logGroup = new logs.LogGroup(this, 'MyLogGroup');\n\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n errorAction: new actions.CloudWatchLogsAction(logGroup),\n});",
|
|
159
|
-
"version": "0"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"location": {
|
|
163
|
-
"api": {
|
|
164
|
-
"api": "moduleReadme",
|
|
165
|
-
"moduleFqn": "@aws-cdk/aws-iot-alpha"
|
|
166
|
-
},
|
|
167
|
-
"field": {
|
|
168
|
-
"field": "markdown",
|
|
169
|
-
"line": 59
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
"didCompile": true,
|
|
173
|
-
"fqnsReferenced": [
|
|
174
|
-
"@aws-cdk/aws-iot-actions-alpha.CloudWatchLogsAction",
|
|
175
|
-
"@aws-cdk/aws-iot-alpha.IAction",
|
|
176
|
-
"@aws-cdk/aws-iot-alpha.IotSql",
|
|
177
|
-
"@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
|
|
178
|
-
"@aws-cdk/aws-iot-alpha.TopicRule",
|
|
179
|
-
"@aws-cdk/aws-iot-alpha.TopicRuleProps",
|
|
180
|
-
"aws-cdk-lib.aws_logs.ILogGroup",
|
|
181
|
-
"aws-cdk-lib.aws_logs.LogGroup",
|
|
182
|
-
"constructs.Construct"
|
|
183
|
-
],
|
|
184
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as logs from 'aws-cdk-lib/aws-logs';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst logGroup = new logs.LogGroup(this, 'MyLogGroup');\n\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n errorAction: new actions.CloudWatchLogsAction(logGroup),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
185
|
-
"syntaxKindCounter": {
|
|
186
|
-
"10": 4,
|
|
187
|
-
"75": 14,
|
|
188
|
-
"104": 2,
|
|
189
|
-
"193": 1,
|
|
190
|
-
"194": 5,
|
|
191
|
-
"196": 1,
|
|
192
|
-
"197": 3,
|
|
193
|
-
"225": 1,
|
|
194
|
-
"226": 1,
|
|
195
|
-
"242": 1,
|
|
196
|
-
"243": 1,
|
|
197
|
-
"254": 1,
|
|
198
|
-
"255": 1,
|
|
199
|
-
"256": 1,
|
|
200
|
-
"281": 2,
|
|
201
|
-
"290": 1
|
|
202
|
-
},
|
|
203
|
-
"fqnsFingerprint": "7bf29c4675a5beae1ef5343d24ab74bcf84a0e6b4747d941d53e7a3ee1d1991f"
|
|
204
|
-
},
|
|
205
|
-
"13a44d58d3cf9be7a9d0210c8f7b3044c28662dd037a3f848b740dd78ba1c33d": {
|
|
206
|
-
"translations": {
|
|
207
|
-
"python": {
|
|
208
|
-
"source": "iot.TopicRule(self, \"TopicRule\",\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n enabled=False\n)",
|
|
209
|
-
"version": "2"
|
|
210
|
-
},
|
|
211
|
-
"csharp": {
|
|
212
|
-
"source": "new TopicRule(this, \"TopicRule\", new TopicRuleProps {\n Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n Enabled = false\n});",
|
|
213
|
-
"version": "1"
|
|
214
|
-
},
|
|
215
|
-
"java": {
|
|
216
|
-
"source": "TopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"))\n .enabled(false)\n .build();",
|
|
217
|
-
"version": "1"
|
|
218
|
-
},
|
|
219
|
-
"go": {
|
|
220
|
-
"source": "iot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\")),\n\tenabled: jsii.Boolean(false),\n})",
|
|
221
|
-
"version": "1"
|
|
222
|
-
},
|
|
223
|
-
"$": {
|
|
224
|
-
"source": "new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n enabled: false,\n});",
|
|
225
|
-
"version": "0"
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"location": {
|
|
229
|
-
"api": {
|
|
230
|
-
"api": "moduleReadme",
|
|
231
|
-
"moduleFqn": "@aws-cdk/aws-iot-alpha"
|
|
232
|
-
},
|
|
233
|
-
"field": {
|
|
234
|
-
"field": "markdown",
|
|
235
|
-
"line": 72
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"didCompile": true,
|
|
239
|
-
"fqnsReferenced": [
|
|
240
|
-
"@aws-cdk/aws-iot-alpha.IotSql",
|
|
241
|
-
"@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
|
|
242
|
-
"@aws-cdk/aws-iot-alpha.TopicRule",
|
|
243
|
-
"@aws-cdk/aws-iot-alpha.TopicRuleProps",
|
|
244
|
-
"constructs.Construct"
|
|
245
|
-
],
|
|
246
|
-
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n enabled: false,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
247
|
-
"syntaxKindCounter": {
|
|
248
|
-
"10": 2,
|
|
249
|
-
"75": 7,
|
|
250
|
-
"91": 1,
|
|
251
|
-
"104": 1,
|
|
252
|
-
"193": 1,
|
|
253
|
-
"194": 3,
|
|
254
|
-
"196": 1,
|
|
255
|
-
"197": 1,
|
|
256
|
-
"226": 1,
|
|
257
|
-
"281": 2
|
|
258
|
-
},
|
|
259
|
-
"fqnsFingerprint": "e6f16d3771bfd179d4595a277fd6725961c89a3b58254dae2a374f48746e874e"
|
|
260
|
-
},
|
|
261
|
-
"478bc6ac05a0df94d2a93853923e4a64d07e327bee9751731f1e0c3c563fc8dd": {
|
|
262
|
-
"translations": {
|
|
263
|
-
"python": {
|
|
264
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_iot_alpha as iot_alpha\n\naction_config = iot_alpha.ActionConfig(\n configuration=ActionProperty(\n cloudwatch_alarm=CloudwatchAlarmActionProperty(\n alarm_name=\"alarmName\",\n role_arn=\"roleArn\",\n state_reason=\"stateReason\",\n state_value=\"stateValue\"\n ),\n cloudwatch_logs=CloudwatchLogsActionProperty(\n log_group_name=\"logGroupName\",\n role_arn=\"roleArn\"\n ),\n cloudwatch_metric=CloudwatchMetricActionProperty(\n metric_name=\"metricName\",\n metric_namespace=\"metricNamespace\",\n metric_unit=\"metricUnit\",\n metric_value=\"metricValue\",\n role_arn=\"roleArn\",\n\n # the properties below are optional\n metric_timestamp=\"metricTimestamp\"\n ),\n dynamo_db=DynamoDBActionProperty(\n hash_key_field=\"hashKeyField\",\n hash_key_value=\"hashKeyValue\",\n role_arn=\"roleArn\",\n table_name=\"tableName\",\n\n # the properties below are optional\n hash_key_type=\"hashKeyType\",\n payload_field=\"payloadField\",\n range_key_field=\"rangeKeyField\",\n range_key_type=\"rangeKeyType\",\n range_key_value=\"rangeKeyValue\"\n ),\n dynamo_dBv2=DynamoDBv2ActionProperty(\n put_item=PutItemInputProperty(\n table_name=\"tableName\"\n ),\n role_arn=\"roleArn\"\n ),\n elasticsearch=ElasticsearchActionProperty(\n endpoint=\"endpoint\",\n id=\"id\",\n index=\"index\",\n role_arn=\"roleArn\",\n type=\"type\"\n ),\n firehose=FirehoseActionProperty(\n delivery_stream_name=\"deliveryStreamName\",\n role_arn=\"roleArn\",\n\n # the properties below are optional\n batch_mode=False,\n separator=\"separator\"\n ),\n http=HttpActionProperty(\n url=\"url\",\n\n # the properties below are optional\n auth=HttpAuthorizationProperty(\n sigv4=SigV4AuthorizationProperty(\n role_arn=\"roleArn\",\n service_name=\"serviceName\",\n signing_region=\"signingRegion\"\n )\n ),\n confirmation_url=\"confirmationUrl\",\n headers=[HttpActionHeaderProperty(\n key=\"key\",\n value=\"value\"\n )]\n ),\n iot_analytics=IotAnalyticsActionProperty(\n channel_name=\"channelName\",\n role_arn=\"roleArn\",\n\n # the properties below are optional\n batch_mode=False\n ),\n iot_events=IotEventsActionProperty(\n input_name=\"inputName\",\n role_arn=\"roleArn\",\n\n # the properties below are optional\n batch_mode=False,\n message_id=\"messageId\"\n ),\n iot_site_wise=IotSiteWiseActionProperty(\n put_asset_property_value_entries=[PutAssetPropertyValueEntryProperty(\n property_values=[AssetPropertyValueProperty(\n timestamp=AssetPropertyTimestampProperty(\n time_in_seconds=\"timeInSeconds\",\n\n # the properties below are optional\n offset_in_nanos=\"offsetInNanos\"\n ),\n value=AssetPropertyVariantProperty(\n boolean_value=\"booleanValue\",\n double_value=\"doubleValue\",\n integer_value=\"integerValue\",\n string_value=\"stringValue\"\n ),\n\n # the properties below are optional\n quality=\"quality\"\n )],\n\n # the properties below are optional\n asset_id=\"assetId\",\n entry_id=\"entryId\",\n property_alias=\"propertyAlias\",\n property_id=\"propertyId\"\n )],\n role_arn=\"roleArn\"\n ),\n kafka=KafkaActionProperty(\n client_properties={\n \"client_properties_key\": \"clientProperties\"\n },\n destination_arn=\"destinationArn\",\n topic=\"topic\",\n\n # the properties below are optional\n key=\"key\",\n partition=\"partition\"\n ),\n kinesis=KinesisActionProperty(\n role_arn=\"roleArn\",\n stream_name=\"streamName\",\n\n # the properties below are optional\n partition_key=\"partitionKey\"\n ),\n lambda_=LambdaActionProperty(\n function_arn=\"functionArn\"\n ),\n open_search=OpenSearchActionProperty(\n endpoint=\"endpoint\",\n id=\"id\",\n index=\"index\",\n role_arn=\"roleArn\",\n type=\"type\"\n ),\n republish=RepublishActionProperty(\n role_arn=\"roleArn\",\n topic=\"topic\",\n\n # the properties below are optional\n qos=123\n ),\n s3=S3ActionProperty(\n bucket_name=\"bucketName\",\n key=\"key\",\n role_arn=\"roleArn\",\n\n # the properties below are optional\n canned_acl=\"cannedAcl\"\n ),\n sns=SnsActionProperty(\n role_arn=\"roleArn\",\n target_arn=\"targetArn\",\n\n # the properties below are optional\n message_format=\"messageFormat\"\n ),\n sqs=SqsActionProperty(\n queue_url=\"queueUrl\",\n role_arn=\"roleArn\",\n\n # the properties below are optional\n use_base64=False\n ),\n step_functions=StepFunctionsActionProperty(\n role_arn=\"roleArn\",\n state_machine_name=\"stateMachineName\",\n\n # the properties below are optional\n execution_name_prefix=\"executionNamePrefix\"\n ),\n timestream=TimestreamActionProperty(\n database_name=\"databaseName\",\n dimensions=[TimestreamDimensionProperty(\n name=\"name\",\n value=\"value\"\n )],\n role_arn=\"roleArn\",\n table_name=\"tableName\",\n\n # the properties below are optional\n batch_mode=False,\n timestamp=TimestreamTimestampProperty(\n unit=\"unit\",\n value=\"value\"\n )\n )\n )\n)",
|
|
265
|
-
"version": "2"
|
|
266
|
-
},
|
|
267
|
-
"csharp": {
|
|
268
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.IoT.Alpha;\n\nActionConfig actionConfig = new ActionConfig {\n Configuration = new ActionProperty {\n CloudwatchAlarm = new CloudwatchAlarmActionProperty {\n AlarmName = \"alarmName\",\n RoleArn = \"roleArn\",\n StateReason = \"stateReason\",\n StateValue = \"stateValue\"\n },\n CloudwatchLogs = new CloudwatchLogsActionProperty {\n LogGroupName = \"logGroupName\",\n RoleArn = \"roleArn\"\n },\n CloudwatchMetric = new CloudwatchMetricActionProperty {\n MetricName = \"metricName\",\n MetricNamespace = \"metricNamespace\",\n MetricUnit = \"metricUnit\",\n MetricValue = \"metricValue\",\n RoleArn = \"roleArn\",\n\n // the properties below are optional\n MetricTimestamp = \"metricTimestamp\"\n },\n DynamoDb = new DynamoDBActionProperty {\n HashKeyField = \"hashKeyField\",\n HashKeyValue = \"hashKeyValue\",\n RoleArn = \"roleArn\",\n TableName = \"tableName\",\n\n // the properties below are optional\n HashKeyType = \"hashKeyType\",\n PayloadField = \"payloadField\",\n RangeKeyField = \"rangeKeyField\",\n RangeKeyType = \"rangeKeyType\",\n RangeKeyValue = \"rangeKeyValue\"\n },\n DynamoDBv2 = new DynamoDBv2ActionProperty {\n PutItem = new PutItemInputProperty {\n TableName = \"tableName\"\n },\n RoleArn = \"roleArn\"\n },\n Elasticsearch = new ElasticsearchActionProperty {\n Endpoint = \"endpoint\",\n Id = \"id\",\n Index = \"index\",\n RoleArn = \"roleArn\",\n Type = \"type\"\n },\n Firehose = new FirehoseActionProperty {\n DeliveryStreamName = \"deliveryStreamName\",\n RoleArn = \"roleArn\",\n\n // the properties below are optional\n BatchMode = false,\n Separator = \"separator\"\n },\n Http = new HttpActionProperty {\n Url = \"url\",\n\n // the properties below are optional\n Auth = new HttpAuthorizationProperty {\n Sigv4 = new SigV4AuthorizationProperty {\n RoleArn = \"roleArn\",\n ServiceName = \"serviceName\",\n SigningRegion = \"signingRegion\"\n }\n },\n ConfirmationUrl = \"confirmationUrl\",\n Headers = new [] { new HttpActionHeaderProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n },\n IotAnalytics = new IotAnalyticsActionProperty {\n ChannelName = \"channelName\",\n RoleArn = \"roleArn\",\n\n // the properties below are optional\n BatchMode = false\n },\n IotEvents = new IotEventsActionProperty {\n InputName = \"inputName\",\n RoleArn = \"roleArn\",\n\n // the properties below are optional\n BatchMode = false,\n MessageId = \"messageId\"\n },\n IotSiteWise = new IotSiteWiseActionProperty {\n PutAssetPropertyValueEntries = new [] { new PutAssetPropertyValueEntryProperty {\n PropertyValues = new [] { new AssetPropertyValueProperty {\n Timestamp = new AssetPropertyTimestampProperty {\n TimeInSeconds = \"timeInSeconds\",\n\n // the properties below are optional\n OffsetInNanos = \"offsetInNanos\"\n },\n Value = new AssetPropertyVariantProperty {\n BooleanValue = \"booleanValue\",\n DoubleValue = \"doubleValue\",\n IntegerValue = \"integerValue\",\n StringValue = \"stringValue\"\n },\n\n // the properties below are optional\n Quality = \"quality\"\n } },\n\n // the properties below are optional\n AssetId = \"assetId\",\n EntryId = \"entryId\",\n PropertyAlias = \"propertyAlias\",\n PropertyId = \"propertyId\"\n } },\n RoleArn = \"roleArn\"\n },\n Kafka = new KafkaActionProperty {\n ClientProperties = new Dictionary<string, string> {\n { \"clientPropertiesKey\", \"clientProperties\" }\n },\n DestinationArn = \"destinationArn\",\n Topic = \"topic\",\n\n // the properties below are optional\n Key = \"key\",\n Partition = \"partition\"\n },\n Kinesis = new KinesisActionProperty {\n RoleArn = \"roleArn\",\n StreamName = \"streamName\",\n\n // the properties below are optional\n PartitionKey = \"partitionKey\"\n },\n Lambda = new LambdaActionProperty {\n FunctionArn = \"functionArn\"\n },\n OpenSearch = new OpenSearchActionProperty {\n Endpoint = \"endpoint\",\n Id = \"id\",\n Index = \"index\",\n RoleArn = \"roleArn\",\n Type = \"type\"\n },\n Republish = new RepublishActionProperty {\n RoleArn = \"roleArn\",\n Topic = \"topic\",\n\n // the properties below are optional\n Qos = 123\n },\n S3 = new S3ActionProperty {\n BucketName = \"bucketName\",\n Key = \"key\",\n RoleArn = \"roleArn\",\n\n // the properties below are optional\n CannedAcl = \"cannedAcl\"\n },\n Sns = new SnsActionProperty {\n RoleArn = \"roleArn\",\n TargetArn = \"targetArn\",\n\n // the properties below are optional\n MessageFormat = \"messageFormat\"\n },\n Sqs = new SqsActionProperty {\n QueueUrl = \"queueUrl\",\n RoleArn = \"roleArn\",\n\n // the properties below are optional\n UseBase64 = false\n },\n StepFunctions = new StepFunctionsActionProperty {\n RoleArn = \"roleArn\",\n StateMachineName = \"stateMachineName\",\n\n // the properties below are optional\n ExecutionNamePrefix = \"executionNamePrefix\"\n },\n Timestream = new TimestreamActionProperty {\n DatabaseName = \"databaseName\",\n Dimensions = new [] { new TimestreamDimensionProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n RoleArn = \"roleArn\",\n TableName = \"tableName\",\n\n // the properties below are optional\n BatchMode = false,\n Timestamp = new TimestreamTimestampProperty {\n Unit = \"unit\",\n Value = \"value\"\n }\n }\n }\n};",
|
|
269
|
-
"version": "1"
|
|
270
|
-
},
|
|
271
|
-
"java": {
|
|
272
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.iot.alpha.*;\n\nActionConfig actionConfig = ActionConfig.builder()\n .configuration(ActionProperty.builder()\n .cloudwatchAlarm(CloudwatchAlarmActionProperty.builder()\n .alarmName(\"alarmName\")\n .roleArn(\"roleArn\")\n .stateReason(\"stateReason\")\n .stateValue(\"stateValue\")\n .build())\n .cloudwatchLogs(CloudwatchLogsActionProperty.builder()\n .logGroupName(\"logGroupName\")\n .roleArn(\"roleArn\")\n .build())\n .cloudwatchMetric(CloudwatchMetricActionProperty.builder()\n .metricName(\"metricName\")\n .metricNamespace(\"metricNamespace\")\n .metricUnit(\"metricUnit\")\n .metricValue(\"metricValue\")\n .roleArn(\"roleArn\")\n\n // the properties below are optional\n .metricTimestamp(\"metricTimestamp\")\n .build())\n .dynamoDb(DynamoDBActionProperty.builder()\n .hashKeyField(\"hashKeyField\")\n .hashKeyValue(\"hashKeyValue\")\n .roleArn(\"roleArn\")\n .tableName(\"tableName\")\n\n // the properties below are optional\n .hashKeyType(\"hashKeyType\")\n .payloadField(\"payloadField\")\n .rangeKeyField(\"rangeKeyField\")\n .rangeKeyType(\"rangeKeyType\")\n .rangeKeyValue(\"rangeKeyValue\")\n .build())\n .dynamoDBv2(DynamoDBv2ActionProperty.builder()\n .putItem(PutItemInputProperty.builder()\n .tableName(\"tableName\")\n .build())\n .roleArn(\"roleArn\")\n .build())\n .elasticsearch(ElasticsearchActionProperty.builder()\n .endpoint(\"endpoint\")\n .id(\"id\")\n .index(\"index\")\n .roleArn(\"roleArn\")\n .type(\"type\")\n .build())\n .firehose(FirehoseActionProperty.builder()\n .deliveryStreamName(\"deliveryStreamName\")\n .roleArn(\"roleArn\")\n\n // the properties below are optional\n .batchMode(false)\n .separator(\"separator\")\n .build())\n .http(HttpActionProperty.builder()\n .url(\"url\")\n\n // the properties below are optional\n .auth(HttpAuthorizationProperty.builder()\n .sigv4(SigV4AuthorizationProperty.builder()\n .roleArn(\"roleArn\")\n .serviceName(\"serviceName\")\n .signingRegion(\"signingRegion\")\n .build())\n .build())\n .confirmationUrl(\"confirmationUrl\")\n .headers(List.of(HttpActionHeaderProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build())\n .iotAnalytics(IotAnalyticsActionProperty.builder()\n .channelName(\"channelName\")\n .roleArn(\"roleArn\")\n\n // the properties below are optional\n .batchMode(false)\n .build())\n .iotEvents(IotEventsActionProperty.builder()\n .inputName(\"inputName\")\n .roleArn(\"roleArn\")\n\n // the properties below are optional\n .batchMode(false)\n .messageId(\"messageId\")\n .build())\n .iotSiteWise(IotSiteWiseActionProperty.builder()\n .putAssetPropertyValueEntries(List.of(PutAssetPropertyValueEntryProperty.builder()\n .propertyValues(List.of(AssetPropertyValueProperty.builder()\n .timestamp(AssetPropertyTimestampProperty.builder()\n .timeInSeconds(\"timeInSeconds\")\n\n // the properties below are optional\n .offsetInNanos(\"offsetInNanos\")\n .build())\n .value(AssetPropertyVariantProperty.builder()\n .booleanValue(\"booleanValue\")\n .doubleValue(\"doubleValue\")\n .integerValue(\"integerValue\")\n .stringValue(\"stringValue\")\n .build())\n\n // the properties below are optional\n .quality(\"quality\")\n .build()))\n\n // the properties below are optional\n .assetId(\"assetId\")\n .entryId(\"entryId\")\n .propertyAlias(\"propertyAlias\")\n .propertyId(\"propertyId\")\n .build()))\n .roleArn(\"roleArn\")\n .build())\n .kafka(KafkaActionProperty.builder()\n .clientProperties(Map.of(\n \"clientPropertiesKey\", \"clientProperties\"))\n .destinationArn(\"destinationArn\")\n .topic(\"topic\")\n\n // the properties below are optional\n .key(\"key\")\n .partition(\"partition\")\n .build())\n .kinesis(KinesisActionProperty.builder()\n .roleArn(\"roleArn\")\n .streamName(\"streamName\")\n\n // the properties below are optional\n .partitionKey(\"partitionKey\")\n .build())\n .lambda(LambdaActionProperty.builder()\n .functionArn(\"functionArn\")\n .build())\n .openSearch(OpenSearchActionProperty.builder()\n .endpoint(\"endpoint\")\n .id(\"id\")\n .index(\"index\")\n .roleArn(\"roleArn\")\n .type(\"type\")\n .build())\n .republish(RepublishActionProperty.builder()\n .roleArn(\"roleArn\")\n .topic(\"topic\")\n\n // the properties below are optional\n .qos(123)\n .build())\n .s3(S3ActionProperty.builder()\n .bucketName(\"bucketName\")\n .key(\"key\")\n .roleArn(\"roleArn\")\n\n // the properties below are optional\n .cannedAcl(\"cannedAcl\")\n .build())\n .sns(SnsActionProperty.builder()\n .roleArn(\"roleArn\")\n .targetArn(\"targetArn\")\n\n // the properties below are optional\n .messageFormat(\"messageFormat\")\n .build())\n .sqs(SqsActionProperty.builder()\n .queueUrl(\"queueUrl\")\n .roleArn(\"roleArn\")\n\n // the properties below are optional\n .useBase64(false)\n .build())\n .stepFunctions(StepFunctionsActionProperty.builder()\n .roleArn(\"roleArn\")\n .stateMachineName(\"stateMachineName\")\n\n // the properties below are optional\n .executionNamePrefix(\"executionNamePrefix\")\n .build())\n .timestream(TimestreamActionProperty.builder()\n .databaseName(\"databaseName\")\n .dimensions(List.of(TimestreamDimensionProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .roleArn(\"roleArn\")\n .tableName(\"tableName\")\n\n // the properties below are optional\n .batchMode(false)\n .timestamp(TimestreamTimestampProperty.builder()\n .unit(\"unit\")\n .value(\"value\")\n .build())\n .build())\n .build())\n .build();",
|
|
273
|
-
"version": "1"
|
|
274
|
-
},
|
|
275
|
-
"go": {
|
|
276
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport iot_alpha \"github.com/aws/aws-cdk-go/awscdkiotalpha\"\n\nactionConfig := &actionConfig{\n\tconfiguration: &actionProperty{\n\t\tcloudwatchAlarm: &cloudwatchAlarmActionProperty{\n\t\t\talarmName: jsii.String(\"alarmName\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\tstateReason: jsii.String(\"stateReason\"),\n\t\t\tstateValue: jsii.String(\"stateValue\"),\n\t\t},\n\t\tcloudwatchLogs: &cloudwatchLogsActionProperty{\n\t\t\tlogGroupName: jsii.String(\"logGroupName\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t},\n\t\tcloudwatchMetric: &cloudwatchMetricActionProperty{\n\t\t\tmetricName: jsii.String(\"metricName\"),\n\t\t\tmetricNamespace: jsii.String(\"metricNamespace\"),\n\t\t\tmetricUnit: jsii.String(\"metricUnit\"),\n\t\t\tmetricValue: jsii.String(\"metricValue\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tmetricTimestamp: jsii.String(\"metricTimestamp\"),\n\t\t},\n\t\tdynamoDb: &dynamoDBActionProperty{\n\t\t\thashKeyField: jsii.String(\"hashKeyField\"),\n\t\t\thashKeyValue: jsii.String(\"hashKeyValue\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\ttableName: jsii.String(\"tableName\"),\n\n\t\t\t// the properties below are optional\n\t\t\thashKeyType: jsii.String(\"hashKeyType\"),\n\t\t\tpayloadField: jsii.String(\"payloadField\"),\n\t\t\trangeKeyField: jsii.String(\"rangeKeyField\"),\n\t\t\trangeKeyType: jsii.String(\"rangeKeyType\"),\n\t\t\trangeKeyValue: jsii.String(\"rangeKeyValue\"),\n\t\t},\n\t\tdynamoDBv2: &dynamoDBv2ActionProperty{\n\t\t\tputItem: &putItemInputProperty{\n\t\t\t\ttableName: jsii.String(\"tableName\"),\n\t\t\t},\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t},\n\t\telasticsearch: &elasticsearchActionProperty{\n\t\t\tendpoint: jsii.String(\"endpoint\"),\n\t\t\tid: jsii.String(\"id\"),\n\t\t\tindex: jsii.String(\"index\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\ttype: jsii.String(\"type\"),\n\t\t},\n\t\tfirehose: &firehoseActionProperty{\n\t\t\tdeliveryStreamName: jsii.String(\"deliveryStreamName\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tbatchMode: jsii.Boolean(false),\n\t\t\tseparator: jsii.String(\"separator\"),\n\t\t},\n\t\thttp: &httpActionProperty{\n\t\t\turl: jsii.String(\"url\"),\n\n\t\t\t// the properties below are optional\n\t\t\tauth: &httpAuthorizationProperty{\n\t\t\t\tsigv4: &sigV4AuthorizationProperty{\n\t\t\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\t\t\tserviceName: jsii.String(\"serviceName\"),\n\t\t\t\t\tsigningRegion: jsii.String(\"signingRegion\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tconfirmationUrl: jsii.String(\"confirmationUrl\"),\n\t\t\theaders: []interface{}{\n\t\t\t\t&httpActionHeaderProperty{\n\t\t\t\t\tkey: jsii.String(\"key\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tiotAnalytics: &iotAnalyticsActionProperty{\n\t\t\tchannelName: jsii.String(\"channelName\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tbatchMode: jsii.Boolean(false),\n\t\t},\n\t\tiotEvents: &iotEventsActionProperty{\n\t\t\tinputName: jsii.String(\"inputName\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tbatchMode: jsii.Boolean(false),\n\t\t\tmessageId: jsii.String(\"messageId\"),\n\t\t},\n\t\tiotSiteWise: &iotSiteWiseActionProperty{\n\t\t\tputAssetPropertyValueEntries: []interface{}{\n\t\t\t\t&putAssetPropertyValueEntryProperty{\n\t\t\t\t\tpropertyValues: []interface{}{\n\t\t\t\t\t\t&assetPropertyValueProperty{\n\t\t\t\t\t\t\ttimestamp: &assetPropertyTimestampProperty{\n\t\t\t\t\t\t\t\ttimeInSeconds: jsii.String(\"timeInSeconds\"),\n\n\t\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\t\toffsetInNanos: jsii.String(\"offsetInNanos\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tvalue: &assetPropertyVariantProperty{\n\t\t\t\t\t\t\t\tbooleanValue: jsii.String(\"booleanValue\"),\n\t\t\t\t\t\t\t\tdoubleValue: jsii.String(\"doubleValue\"),\n\t\t\t\t\t\t\t\tintegerValue: jsii.String(\"integerValue\"),\n\t\t\t\t\t\t\t\tstringValue: jsii.String(\"stringValue\"),\n\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\tquality: jsii.String(\"quality\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tassetId: jsii.String(\"assetId\"),\n\t\t\t\t\tentryId: jsii.String(\"entryId\"),\n\t\t\t\t\tpropertyAlias: jsii.String(\"propertyAlias\"),\n\t\t\t\t\tpropertyId: jsii.String(\"propertyId\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t},\n\t\tkafka: &kafkaActionProperty{\n\t\t\tclientProperties: map[string]*string{\n\t\t\t\t\"clientPropertiesKey\": jsii.String(\"clientProperties\"),\n\t\t\t},\n\t\t\tdestinationArn: jsii.String(\"destinationArn\"),\n\t\t\ttopic: jsii.String(\"topic\"),\n\n\t\t\t// the properties below are optional\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tpartition: jsii.String(\"partition\"),\n\t\t},\n\t\tkinesis: &kinesisActionProperty{\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\tstreamName: jsii.String(\"streamName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpartitionKey: jsii.String(\"partitionKey\"),\n\t\t},\n\t\tlambda: &lambdaActionProperty{\n\t\t\tfunctionArn: jsii.String(\"functionArn\"),\n\t\t},\n\t\topenSearch: &openSearchActionProperty{\n\t\t\tendpoint: jsii.String(\"endpoint\"),\n\t\t\tid: jsii.String(\"id\"),\n\t\t\tindex: jsii.String(\"index\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\ttype: jsii.String(\"type\"),\n\t\t},\n\t\trepublish: &republishActionProperty{\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\ttopic: jsii.String(\"topic\"),\n\n\t\t\t// the properties below are optional\n\t\t\tqos: jsii.Number(123),\n\t\t},\n\t\ts3: &s3ActionProperty{\n\t\t\tbucketName: jsii.String(\"bucketName\"),\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tcannedAcl: jsii.String(\"cannedAcl\"),\n\t\t},\n\t\tsns: &snsActionProperty{\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\ttargetArn: jsii.String(\"targetArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tmessageFormat: jsii.String(\"messageFormat\"),\n\t\t},\n\t\tsqs: &sqsActionProperty{\n\t\t\tqueueUrl: jsii.String(\"queueUrl\"),\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tuseBase64: jsii.Boolean(false),\n\t\t},\n\t\tstepFunctions: &stepFunctionsActionProperty{\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\tstateMachineName: jsii.String(\"stateMachineName\"),\n\n\t\t\t// the properties below are optional\n\t\t\texecutionNamePrefix: jsii.String(\"executionNamePrefix\"),\n\t\t},\n\t\ttimestream: ×treamActionProperty{\n\t\t\tdatabaseName: jsii.String(\"databaseName\"),\n\t\t\tdimensions: []interface{}{\n\t\t\t\t×treamDimensionProperty{\n\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\ttableName: jsii.String(\"tableName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tbatchMode: jsii.Boolean(false),\n\t\t\ttimestamp: ×treamTimestampProperty{\n\t\t\t\tunit: jsii.String(\"unit\"),\n\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t},\n\t\t},\n\t},\n}",
|
|
277
|
-
"version": "1"
|
|
278
|
-
},
|
|
279
|
-
"$": {
|
|
280
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as iot_alpha from '@aws-cdk/aws-iot-alpha';\nconst actionConfig: iot_alpha.ActionConfig = {\n configuration: {\n cloudwatchAlarm: {\n alarmName: 'alarmName',\n roleArn: 'roleArn',\n stateReason: 'stateReason',\n stateValue: 'stateValue',\n },\n cloudwatchLogs: {\n logGroupName: 'logGroupName',\n roleArn: 'roleArn',\n },\n cloudwatchMetric: {\n metricName: 'metricName',\n metricNamespace: 'metricNamespace',\n metricUnit: 'metricUnit',\n metricValue: 'metricValue',\n roleArn: 'roleArn',\n\n // the properties below are optional\n metricTimestamp: 'metricTimestamp',\n },\n dynamoDb: {\n hashKeyField: 'hashKeyField',\n hashKeyValue: 'hashKeyValue',\n roleArn: 'roleArn',\n tableName: 'tableName',\n\n // the properties below are optional\n hashKeyType: 'hashKeyType',\n payloadField: 'payloadField',\n rangeKeyField: 'rangeKeyField',\n rangeKeyType: 'rangeKeyType',\n rangeKeyValue: 'rangeKeyValue',\n },\n dynamoDBv2: {\n putItem: {\n tableName: 'tableName',\n },\n roleArn: 'roleArn',\n },\n elasticsearch: {\n endpoint: 'endpoint',\n id: 'id',\n index: 'index',\n roleArn: 'roleArn',\n type: 'type',\n },\n firehose: {\n deliveryStreamName: 'deliveryStreamName',\n roleArn: 'roleArn',\n\n // the properties below are optional\n batchMode: false,\n separator: 'separator',\n },\n http: {\n url: 'url',\n\n // the properties below are optional\n auth: {\n sigv4: {\n roleArn: 'roleArn',\n serviceName: 'serviceName',\n signingRegion: 'signingRegion',\n },\n },\n confirmationUrl: 'confirmationUrl',\n headers: [{\n key: 'key',\n value: 'value',\n }],\n },\n iotAnalytics: {\n channelName: 'channelName',\n roleArn: 'roleArn',\n\n // the properties below are optional\n batchMode: false,\n },\n iotEvents: {\n inputName: 'inputName',\n roleArn: 'roleArn',\n\n // the properties below are optional\n batchMode: false,\n messageId: 'messageId',\n },\n iotSiteWise: {\n putAssetPropertyValueEntries: [{\n propertyValues: [{\n timestamp: {\n timeInSeconds: 'timeInSeconds',\n\n // the properties below are optional\n offsetInNanos: 'offsetInNanos',\n },\n value: {\n booleanValue: 'booleanValue',\n doubleValue: 'doubleValue',\n integerValue: 'integerValue',\n stringValue: 'stringValue',\n },\n\n // the properties below are optional\n quality: 'quality',\n }],\n\n // the properties below are optional\n assetId: 'assetId',\n entryId: 'entryId',\n propertyAlias: 'propertyAlias',\n propertyId: 'propertyId',\n }],\n roleArn: 'roleArn',\n },\n kafka: {\n clientProperties: {\n clientPropertiesKey: 'clientProperties',\n },\n destinationArn: 'destinationArn',\n topic: 'topic',\n\n // the properties below are optional\n key: 'key',\n partition: 'partition',\n },\n kinesis: {\n roleArn: 'roleArn',\n streamName: 'streamName',\n\n // the properties below are optional\n partitionKey: 'partitionKey',\n },\n lambda: {\n functionArn: 'functionArn',\n },\n openSearch: {\n endpoint: 'endpoint',\n id: 'id',\n index: 'index',\n roleArn: 'roleArn',\n type: 'type',\n },\n republish: {\n roleArn: 'roleArn',\n topic: 'topic',\n\n // the properties below are optional\n qos: 123,\n },\n s3: {\n bucketName: 'bucketName',\n key: 'key',\n roleArn: 'roleArn',\n\n // the properties below are optional\n cannedAcl: 'cannedAcl',\n },\n sns: {\n roleArn: 'roleArn',\n targetArn: 'targetArn',\n\n // the properties below are optional\n messageFormat: 'messageFormat',\n },\n sqs: {\n queueUrl: 'queueUrl',\n roleArn: 'roleArn',\n\n // the properties below are optional\n useBase64: false,\n },\n stepFunctions: {\n roleArn: 'roleArn',\n stateMachineName: 'stateMachineName',\n\n // the properties below are optional\n executionNamePrefix: 'executionNamePrefix',\n },\n timestream: {\n databaseName: 'databaseName',\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n roleArn: 'roleArn',\n tableName: 'tableName',\n\n // the properties below are optional\n batchMode: false,\n timestamp: {\n unit: 'unit',\n value: 'value',\n },\n },\n },\n};",
|
|
281
|
-
"version": "0"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
"location": {
|
|
285
|
-
"api": {
|
|
286
|
-
"api": "type",
|
|
287
|
-
"fqn": "@aws-cdk/aws-iot-alpha.ActionConfig"
|
|
288
|
-
},
|
|
289
|
-
"field": {
|
|
290
|
-
"field": "example"
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
"didCompile": true,
|
|
294
|
-
"fqnsReferenced": [
|
|
295
|
-
"@aws-cdk/aws-iot-alpha.ActionConfig",
|
|
296
|
-
"aws-cdk-lib.aws_iot.CfnTopicRule.ActionProperty"
|
|
297
|
-
],
|
|
298
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as iot_alpha from '@aws-cdk/aws-iot-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst actionConfig: iot_alpha.ActionConfig = {\n configuration: {\n cloudwatchAlarm: {\n alarmName: 'alarmName',\n roleArn: 'roleArn',\n stateReason: 'stateReason',\n stateValue: 'stateValue',\n },\n cloudwatchLogs: {\n logGroupName: 'logGroupName',\n roleArn: 'roleArn',\n },\n cloudwatchMetric: {\n metricName: 'metricName',\n metricNamespace: 'metricNamespace',\n metricUnit: 'metricUnit',\n metricValue: 'metricValue',\n roleArn: 'roleArn',\n\n // the properties below are optional\n metricTimestamp: 'metricTimestamp',\n },\n dynamoDb: {\n hashKeyField: 'hashKeyField',\n hashKeyValue: 'hashKeyValue',\n roleArn: 'roleArn',\n tableName: 'tableName',\n\n // the properties below are optional\n hashKeyType: 'hashKeyType',\n payloadField: 'payloadField',\n rangeKeyField: 'rangeKeyField',\n rangeKeyType: 'rangeKeyType',\n rangeKeyValue: 'rangeKeyValue',\n },\n dynamoDBv2: {\n putItem: {\n tableName: 'tableName',\n },\n roleArn: 'roleArn',\n },\n elasticsearch: {\n endpoint: 'endpoint',\n id: 'id',\n index: 'index',\n roleArn: 'roleArn',\n type: 'type',\n },\n firehose: {\n deliveryStreamName: 'deliveryStreamName',\n roleArn: 'roleArn',\n\n // the properties below are optional\n batchMode: false,\n separator: 'separator',\n },\n http: {\n url: 'url',\n\n // the properties below are optional\n auth: {\n sigv4: {\n roleArn: 'roleArn',\n serviceName: 'serviceName',\n signingRegion: 'signingRegion',\n },\n },\n confirmationUrl: 'confirmationUrl',\n headers: [{\n key: 'key',\n value: 'value',\n }],\n },\n iotAnalytics: {\n channelName: 'channelName',\n roleArn: 'roleArn',\n\n // the properties below are optional\n batchMode: false,\n },\n iotEvents: {\n inputName: 'inputName',\n roleArn: 'roleArn',\n\n // the properties below are optional\n batchMode: false,\n messageId: 'messageId',\n },\n iotSiteWise: {\n putAssetPropertyValueEntries: [{\n propertyValues: [{\n timestamp: {\n timeInSeconds: 'timeInSeconds',\n\n // the properties below are optional\n offsetInNanos: 'offsetInNanos',\n },\n value: {\n booleanValue: 'booleanValue',\n doubleValue: 'doubleValue',\n integerValue: 'integerValue',\n stringValue: 'stringValue',\n },\n\n // the properties below are optional\n quality: 'quality',\n }],\n\n // the properties below are optional\n assetId: 'assetId',\n entryId: 'entryId',\n propertyAlias: 'propertyAlias',\n propertyId: 'propertyId',\n }],\n roleArn: 'roleArn',\n },\n kafka: {\n clientProperties: {\n clientPropertiesKey: 'clientProperties',\n },\n destinationArn: 'destinationArn',\n topic: 'topic',\n\n // the properties below are optional\n key: 'key',\n partition: 'partition',\n },\n kinesis: {\n roleArn: 'roleArn',\n streamName: 'streamName',\n\n // the properties below are optional\n partitionKey: 'partitionKey',\n },\n lambda: {\n functionArn: 'functionArn',\n },\n openSearch: {\n endpoint: 'endpoint',\n id: 'id',\n index: 'index',\n roleArn: 'roleArn',\n type: 'type',\n },\n republish: {\n roleArn: 'roleArn',\n topic: 'topic',\n\n // the properties below are optional\n qos: 123,\n },\n s3: {\n bucketName: 'bucketName',\n key: 'key',\n roleArn: 'roleArn',\n\n // the properties below are optional\n cannedAcl: 'cannedAcl',\n },\n sns: {\n roleArn: 'roleArn',\n targetArn: 'targetArn',\n\n // the properties below are optional\n messageFormat: 'messageFormat',\n },\n sqs: {\n queueUrl: 'queueUrl',\n roleArn: 'roleArn',\n\n // the properties below are optional\n useBase64: false,\n },\n stepFunctions: {\n roleArn: 'roleArn',\n stateMachineName: 'stateMachineName',\n\n // the properties below are optional\n executionNamePrefix: 'executionNamePrefix',\n },\n timestream: {\n databaseName: 'databaseName',\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n roleArn: 'roleArn',\n tableName: 'tableName',\n\n // the properties below are optional\n batchMode: false,\n timestamp: {\n unit: 'unit',\n value: 'value',\n },\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
299
|
-
"syntaxKindCounter": {
|
|
300
|
-
"8": 1,
|
|
301
|
-
"10": 91,
|
|
302
|
-
"75": 133,
|
|
303
|
-
"91": 5,
|
|
304
|
-
"153": 1,
|
|
305
|
-
"169": 1,
|
|
306
|
-
"192": 4,
|
|
307
|
-
"193": 34,
|
|
308
|
-
"225": 1,
|
|
309
|
-
"242": 1,
|
|
310
|
-
"243": 1,
|
|
311
|
-
"254": 1,
|
|
312
|
-
"255": 1,
|
|
313
|
-
"256": 1,
|
|
314
|
-
"281": 129,
|
|
315
|
-
"290": 1
|
|
316
|
-
},
|
|
317
|
-
"fqnsFingerprint": "2c63b4a80c41debca854deefa3270efce38e64293544a04243e04e1c95acf4b2"
|
|
318
|
-
},
|
|
319
|
-
"fe28af655d4ab07a3f069d1b9cc7b6c569823a18a6e118cd1c19e77146647902": {
|
|
320
|
-
"translations": {
|
|
321
|
-
"python": {
|
|
322
|
-
"source": "import aws_cdk.aws_sns as sns\n\n\ntopic = sns.Topic(self, \"MyTopic\")\n\ntopic_rule = iot.TopicRule(self, \"TopicRule\",\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"),\n actions=[\n actions.SnsTopicAction(topic,\n message_format=actions.SnsActionMessageFormat.JSON\n )\n ]\n)",
|
|
323
|
-
"version": "2"
|
|
324
|
-
},
|
|
325
|
-
"csharp": {
|
|
326
|
-
"source": "using Amazon.CDK.AWS.SNS;\n\n\nTopic topic = new Topic(this, \"MyTopic\");\n\nTopicRule topicRule = new TopicRule(this, \"TopicRule\", new TopicRuleProps {\n Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"),\n Actions = new [] {\n new SnsTopicAction(topic, new SnsTopicActionProps {\n MessageFormat = SnsActionMessageFormat.JSON\n }) }\n});",
|
|
327
|
-
"version": "1"
|
|
328
|
-
},
|
|
329
|
-
"java": {
|
|
330
|
-
"source": "import software.amazon.awscdk.services.sns.*;\n\n\nTopic topic = new Topic(this, \"MyTopic\");\n\nTopicRule topicRule = TopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"))\n .actions(List.of(\n SnsTopicAction.Builder.create(topic)\n .messageFormat(SnsActionMessageFormat.JSON)\n .build()))\n .build();",
|
|
331
|
-
"version": "1"
|
|
332
|
-
},
|
|
333
|
-
"go": {
|
|
334
|
-
"source": "import sns \"github.com/aws/aws-cdk-go/awscdk\"\n\n\ntopic := sns.NewTopic(this, jsii.String(\"MyTopic\"))\n\ntopicRule := iot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewSnsTopicAction(topic, &snsTopicActionProps{\n\t\t\tmessageFormat: actions.snsActionMessageFormat_JSON,\n\t\t}),\n\t},\n})",
|
|
335
|
-
"version": "1"
|
|
336
|
-
},
|
|
337
|
-
"$": {
|
|
338
|
-
"source": "import * as sns from 'aws-cdk-lib/aws-sns';\n\nconst topic = new sns.Topic(this, 'MyTopic');\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\n \"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\",\n ),\n actions: [\n new actions.SnsTopicAction(topic, {\n messageFormat: actions.SnsActionMessageFormat.JSON, // optional property, default is SnsActionMessageFormat.RAW\n }),\n ],\n});",
|
|
339
|
-
"version": "0"
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
"location": {
|
|
343
|
-
"api": {
|
|
344
|
-
"api": "type",
|
|
345
|
-
"fqn": "@aws-cdk/aws-iot-alpha.IotSql"
|
|
346
|
-
},
|
|
347
|
-
"field": {
|
|
348
|
-
"field": "example"
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
"didCompile": true,
|
|
352
|
-
"fqnsReferenced": [
|
|
353
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsActionMessageFormat",
|
|
354
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsActionMessageFormat#JSON",
|
|
355
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsTopicAction",
|
|
356
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsTopicActionProps",
|
|
357
|
-
"@aws-cdk/aws-iot-alpha.IotSql",
|
|
358
|
-
"@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
|
|
359
|
-
"@aws-cdk/aws-iot-alpha.TopicRule",
|
|
360
|
-
"@aws-cdk/aws-iot-alpha.TopicRuleProps",
|
|
361
|
-
"aws-cdk-lib.aws_sns.ITopic",
|
|
362
|
-
"aws-cdk-lib.aws_sns.Topic",
|
|
363
|
-
"constructs.Construct"
|
|
364
|
-
],
|
|
365
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as sns from 'aws-cdk-lib/aws-sns';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst topic = new sns.Topic(this, 'MyTopic');\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\n \"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\",\n ),\n actions: [\n new actions.SnsTopicAction(topic, {\n messageFormat: actions.SnsActionMessageFormat.JSON, // optional property, default is SnsActionMessageFormat.RAW\n }),\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
366
|
-
"syntaxKindCounter": {
|
|
367
|
-
"10": 4,
|
|
368
|
-
"75": 19,
|
|
369
|
-
"104": 2,
|
|
370
|
-
"192": 1,
|
|
371
|
-
"193": 2,
|
|
372
|
-
"194": 7,
|
|
373
|
-
"196": 1,
|
|
374
|
-
"197": 3,
|
|
375
|
-
"225": 2,
|
|
376
|
-
"242": 2,
|
|
377
|
-
"243": 2,
|
|
378
|
-
"254": 1,
|
|
379
|
-
"255": 1,
|
|
380
|
-
"256": 1,
|
|
381
|
-
"281": 3,
|
|
382
|
-
"290": 1
|
|
383
|
-
},
|
|
384
|
-
"fqnsFingerprint": "4cf24773e3aa2805d66e42da0131cd61aa41f9db35a519cb73eae3a8ac3ffa0b"
|
|
385
|
-
},
|
|
386
|
-
"74bb7d4294a32fb4614b808694f4a4dfebbd13621b825e7ac033eae8fb48f256": {
|
|
387
|
-
"translations": {
|
|
388
|
-
"python": {
|
|
389
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_iot_alpha as iot_alpha\n\niot_sql_config = iot_alpha.IotSqlConfig(\n aws_iot_sql_version=\"awsIotSqlVersion\",\n sql=\"sql\"\n)",
|
|
390
|
-
"version": "2"
|
|
391
|
-
},
|
|
392
|
-
"csharp": {
|
|
393
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.IoT.Alpha;\n\nIotSqlConfig iotSqlConfig = new IotSqlConfig {\n AwsIotSqlVersion = \"awsIotSqlVersion\",\n Sql = \"sql\"\n};",
|
|
394
|
-
"version": "1"
|
|
395
|
-
},
|
|
396
|
-
"java": {
|
|
397
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.iot.alpha.*;\n\nIotSqlConfig iotSqlConfig = IotSqlConfig.builder()\n .awsIotSqlVersion(\"awsIotSqlVersion\")\n .sql(\"sql\")\n .build();",
|
|
398
|
-
"version": "1"
|
|
399
|
-
},
|
|
400
|
-
"go": {
|
|
401
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport iot_alpha \"github.com/aws/aws-cdk-go/awscdkiotalpha\"\n\niotSqlConfig := &iotSqlConfig{\n\tawsIotSqlVersion: jsii.String(\"awsIotSqlVersion\"),\n\tsql: jsii.String(\"sql\"),\n}",
|
|
402
|
-
"version": "1"
|
|
403
|
-
},
|
|
404
|
-
"$": {
|
|
405
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as iot_alpha from '@aws-cdk/aws-iot-alpha';\nconst iotSqlConfig: iot_alpha.IotSqlConfig = {\n awsIotSqlVersion: 'awsIotSqlVersion',\n sql: 'sql',\n};",
|
|
406
|
-
"version": "0"
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
"location": {
|
|
410
|
-
"api": {
|
|
411
|
-
"api": "type",
|
|
412
|
-
"fqn": "@aws-cdk/aws-iot-alpha.IotSqlConfig"
|
|
413
|
-
},
|
|
414
|
-
"field": {
|
|
415
|
-
"field": "example"
|
|
416
|
-
}
|
|
417
|
-
},
|
|
418
|
-
"didCompile": true,
|
|
419
|
-
"fqnsReferenced": [
|
|
420
|
-
"@aws-cdk/aws-iot-alpha.IotSqlConfig"
|
|
421
|
-
],
|
|
422
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as iot_alpha from '@aws-cdk/aws-iot-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst iotSqlConfig: iot_alpha.IotSqlConfig = {\n awsIotSqlVersion: 'awsIotSqlVersion',\n sql: 'sql',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
423
|
-
"syntaxKindCounter": {
|
|
424
|
-
"10": 3,
|
|
425
|
-
"75": 6,
|
|
426
|
-
"153": 1,
|
|
427
|
-
"169": 1,
|
|
428
|
-
"193": 1,
|
|
429
|
-
"225": 1,
|
|
430
|
-
"242": 1,
|
|
431
|
-
"243": 1,
|
|
432
|
-
"254": 1,
|
|
433
|
-
"255": 1,
|
|
434
|
-
"256": 1,
|
|
435
|
-
"281": 2,
|
|
436
|
-
"290": 1
|
|
437
|
-
},
|
|
438
|
-
"fqnsFingerprint": "eadc2b7fe175a20273b81ae34142e534e05517c13b710d61c3bdc4ce4b7df5c3"
|
|
439
|
-
},
|
|
440
|
-
"beb68df5e939a78260872c2b8e6e713bc397b0a6996999c1101a595e61f1a38b": {
|
|
441
|
-
"translations": {
|
|
442
|
-
"python": {
|
|
443
|
-
"source": "import aws_cdk.aws_sns as sns\n\n\ntopic = sns.Topic(self, \"MyTopic\")\n\ntopic_rule = iot.TopicRule(self, \"TopicRule\",\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"),\n actions=[\n actions.SnsTopicAction(topic,\n message_format=actions.SnsActionMessageFormat.JSON\n )\n ]\n)",
|
|
444
|
-
"version": "2"
|
|
445
|
-
},
|
|
446
|
-
"csharp": {
|
|
447
|
-
"source": "using Amazon.CDK.AWS.SNS;\n\n\nTopic topic = new Topic(this, \"MyTopic\");\n\nTopicRule topicRule = new TopicRule(this, \"TopicRule\", new TopicRuleProps {\n Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"),\n Actions = new [] {\n new SnsTopicAction(topic, new SnsTopicActionProps {\n MessageFormat = SnsActionMessageFormat.JSON\n }) }\n});",
|
|
448
|
-
"version": "1"
|
|
449
|
-
},
|
|
450
|
-
"java": {
|
|
451
|
-
"source": "import software.amazon.awscdk.services.sns.*;\n\n\nTopic topic = new Topic(this, \"MyTopic\");\n\nTopicRule topicRule = TopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"))\n .actions(List.of(\n SnsTopicAction.Builder.create(topic)\n .messageFormat(SnsActionMessageFormat.JSON)\n .build()))\n .build();",
|
|
452
|
-
"version": "1"
|
|
453
|
-
},
|
|
454
|
-
"go": {
|
|
455
|
-
"source": "import sns \"github.com/aws/aws-cdk-go/awscdk\"\n\n\ntopic := sns.NewTopic(this, jsii.String(\"MyTopic\"))\n\ntopicRule := iot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewSnsTopicAction(topic, &snsTopicActionProps{\n\t\t\tmessageFormat: actions.snsActionMessageFormat_JSON,\n\t\t}),\n\t},\n})",
|
|
456
|
-
"version": "1"
|
|
457
|
-
},
|
|
458
|
-
"$": {
|
|
459
|
-
"source": "import * as sns from 'aws-cdk-lib/aws-sns';\n\nconst topic = new sns.Topic(this, 'MyTopic');\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\n \"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\",\n ),\n actions: [\n new actions.SnsTopicAction(topic, {\n messageFormat: actions.SnsActionMessageFormat.JSON, // optional property, default is SnsActionMessageFormat.RAW\n }),\n ],\n});",
|
|
460
|
-
"version": "0"
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
"location": {
|
|
464
|
-
"api": {
|
|
465
|
-
"api": "type",
|
|
466
|
-
"fqn": "@aws-cdk/aws-iot-alpha.TopicRule"
|
|
467
|
-
},
|
|
468
|
-
"field": {
|
|
469
|
-
"field": "example"
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
"didCompile": true,
|
|
473
|
-
"fqnsReferenced": [
|
|
474
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsActionMessageFormat",
|
|
475
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsActionMessageFormat#JSON",
|
|
476
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsTopicAction",
|
|
477
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsTopicActionProps",
|
|
478
|
-
"@aws-cdk/aws-iot-alpha.IotSql",
|
|
479
|
-
"@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
|
|
480
|
-
"@aws-cdk/aws-iot-alpha.TopicRule",
|
|
481
|
-
"@aws-cdk/aws-iot-alpha.TopicRuleProps",
|
|
482
|
-
"aws-cdk-lib.aws_sns.ITopic",
|
|
483
|
-
"aws-cdk-lib.aws_sns.Topic",
|
|
484
|
-
"constructs.Construct"
|
|
485
|
-
],
|
|
486
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as sns from 'aws-cdk-lib/aws-sns';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst topic = new sns.Topic(this, 'MyTopic');\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\n \"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\",\n ),\n actions: [\n new actions.SnsTopicAction(topic, {\n messageFormat: actions.SnsActionMessageFormat.JSON, // optional property, default is SnsActionMessageFormat.RAW\n }),\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
487
|
-
"syntaxKindCounter": {
|
|
488
|
-
"10": 4,
|
|
489
|
-
"75": 19,
|
|
490
|
-
"104": 2,
|
|
491
|
-
"192": 1,
|
|
492
|
-
"193": 2,
|
|
493
|
-
"194": 7,
|
|
494
|
-
"196": 1,
|
|
495
|
-
"197": 3,
|
|
496
|
-
"225": 2,
|
|
497
|
-
"242": 2,
|
|
498
|
-
"243": 2,
|
|
499
|
-
"254": 1,
|
|
500
|
-
"255": 1,
|
|
501
|
-
"256": 1,
|
|
502
|
-
"281": 3,
|
|
503
|
-
"290": 1
|
|
504
|
-
},
|
|
505
|
-
"fqnsFingerprint": "4cf24773e3aa2805d66e42da0131cd61aa41f9db35a519cb73eae3a8ac3ffa0b"
|
|
506
|
-
},
|
|
507
|
-
"d40b08cbfc21a350bae8f579dae2592e57b439bf4e3b2a68fcbfa229546ac617": {
|
|
508
|
-
"translations": {
|
|
509
|
-
"python": {
|
|
510
|
-
"source": "import aws_cdk.aws_sns as sns\n\n\ntopic = sns.Topic(self, \"MyTopic\")\n\ntopic_rule = iot.TopicRule(self, \"TopicRule\",\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"),\n actions=[\n actions.SnsTopicAction(topic,\n message_format=actions.SnsActionMessageFormat.JSON\n )\n ]\n)",
|
|
511
|
-
"version": "2"
|
|
512
|
-
},
|
|
513
|
-
"csharp": {
|
|
514
|
-
"source": "using Amazon.CDK.AWS.SNS;\n\n\nTopic topic = new Topic(this, \"MyTopic\");\n\nTopicRule topicRule = new TopicRule(this, \"TopicRule\", new TopicRuleProps {\n Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"),\n Actions = new [] {\n new SnsTopicAction(topic, new SnsTopicActionProps {\n MessageFormat = SnsActionMessageFormat.JSON\n }) }\n});",
|
|
515
|
-
"version": "1"
|
|
516
|
-
},
|
|
517
|
-
"java": {
|
|
518
|
-
"source": "import software.amazon.awscdk.services.sns.*;\n\n\nTopic topic = new Topic(this, \"MyTopic\");\n\nTopicRule topicRule = TopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\"))\n .actions(List.of(\n SnsTopicAction.Builder.create(topic)\n .messageFormat(SnsActionMessageFormat.JSON)\n .build()))\n .build();",
|
|
519
|
-
"version": "1"
|
|
520
|
-
},
|
|
521
|
-
"go": {
|
|
522
|
-
"source": "import sns \"github.com/aws/aws-cdk-go/awscdk\"\n\n\ntopic := sns.NewTopic(this, jsii.String(\"MyTopic\"))\n\ntopicRule := iot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewSnsTopicAction(topic, &snsTopicActionProps{\n\t\t\tmessageFormat: actions.snsActionMessageFormat_JSON,\n\t\t}),\n\t},\n})",
|
|
523
|
-
"version": "1"
|
|
524
|
-
},
|
|
525
|
-
"$": {
|
|
526
|
-
"source": "import * as sns from 'aws-cdk-lib/aws-sns';\n\nconst topic = new sns.Topic(this, 'MyTopic');\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\n \"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\",\n ),\n actions: [\n new actions.SnsTopicAction(topic, {\n messageFormat: actions.SnsActionMessageFormat.JSON, // optional property, default is SnsActionMessageFormat.RAW\n }),\n ],\n});",
|
|
527
|
-
"version": "0"
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
"location": {
|
|
531
|
-
"api": {
|
|
532
|
-
"api": "type",
|
|
533
|
-
"fqn": "@aws-cdk/aws-iot-alpha.TopicRuleProps"
|
|
534
|
-
},
|
|
535
|
-
"field": {
|
|
536
|
-
"field": "example"
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
"didCompile": true,
|
|
540
|
-
"fqnsReferenced": [
|
|
541
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsActionMessageFormat",
|
|
542
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsActionMessageFormat#JSON",
|
|
543
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsTopicAction",
|
|
544
|
-
"@aws-cdk/aws-iot-actions-alpha.SnsTopicActionProps",
|
|
545
|
-
"@aws-cdk/aws-iot-alpha.IotSql",
|
|
546
|
-
"@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
|
|
547
|
-
"@aws-cdk/aws-iot-alpha.TopicRule",
|
|
548
|
-
"@aws-cdk/aws-iot-alpha.TopicRuleProps",
|
|
549
|
-
"aws-cdk-lib.aws_sns.ITopic",
|
|
550
|
-
"aws-cdk-lib.aws_sns.Topic",
|
|
551
|
-
"constructs.Construct"
|
|
552
|
-
],
|
|
553
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\nimport * as sns from 'aws-cdk-lib/aws-sns';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst topic = new sns.Topic(this, 'MyTopic');\n\nconst topicRule = new iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\n \"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'\",\n ),\n actions: [\n new actions.SnsTopicAction(topic, {\n messageFormat: actions.SnsActionMessageFormat.JSON, // optional property, default is SnsActionMessageFormat.RAW\n }),\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
554
|
-
"syntaxKindCounter": {
|
|
555
|
-
"10": 4,
|
|
556
|
-
"75": 19,
|
|
557
|
-
"104": 2,
|
|
558
|
-
"192": 1,
|
|
559
|
-
"193": 2,
|
|
560
|
-
"194": 7,
|
|
561
|
-
"196": 1,
|
|
562
|
-
"197": 3,
|
|
563
|
-
"225": 2,
|
|
564
|
-
"242": 2,
|
|
565
|
-
"243": 2,
|
|
566
|
-
"254": 1,
|
|
567
|
-
"255": 1,
|
|
568
|
-
"256": 1,
|
|
569
|
-
"281": 3,
|
|
570
|
-
"290": 1
|
|
571
|
-
},
|
|
572
|
-
"fqnsFingerprint": "4cf24773e3aa2805d66e42da0131cd61aa41f9db35a519cb73eae3a8ac3ffa0b"
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|