@aws-cdk/aws-iot-alpha 2.15.0-alpha.0 → 2.18.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 CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.15.0",
11
+ "aws-cdk-lib": "^2.18.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -378,6 +378,19 @@
378
378
  }
379
379
  }
380
380
  },
381
+ "aws-cdk-lib.aws_billingconductor": {
382
+ "targets": {
383
+ "dotnet": {
384
+ "namespace": "Amazon.CDK.AWS.BillingConductor"
385
+ },
386
+ "java": {
387
+ "package": "software.amazon.awscdk.services.billingconductor"
388
+ },
389
+ "python": {
390
+ "module": "aws_cdk.aws_billingconductor"
391
+ }
392
+ }
393
+ },
381
394
  "aws-cdk-lib.aws_budgets": {
382
395
  "targets": {
383
396
  "dotnet": {
@@ -2043,6 +2056,19 @@
2043
2056
  }
2044
2057
  }
2045
2058
  },
2059
+ "aws-cdk-lib.aws_personalize": {
2060
+ "targets": {
2061
+ "dotnet": {
2062
+ "namespace": "Amazon.CDK.AWS.Personalize"
2063
+ },
2064
+ "java": {
2065
+ "package": "software.amazon.awscdk.services.personalize"
2066
+ },
2067
+ "python": {
2068
+ "module": "aws_cdk.aws_personalize"
2069
+ }
2070
+ }
2071
+ },
2046
2072
  "aws-cdk-lib.aws_pinpoint": {
2047
2073
  "targets": {
2048
2074
  "dotnet": {
@@ -2933,7 +2959,7 @@
2933
2959
  "stability": "experimental"
2934
2960
  },
2935
2961
  "homepage": "https://github.com/aws/aws-cdk",
2936
- "jsiiVersion": "1.54.0 (build b1b977a)",
2962
+ "jsiiVersion": "1.55.1 (build 07d2d90)",
2937
2963
  "keywords": [
2938
2964
  "aws",
2939
2965
  "cdk",
@@ -2954,7 +2980,7 @@
2954
2980
  },
2955
2981
  "name": "@aws-cdk/aws-iot-alpha",
2956
2982
  "readme": {
2957
- "markdown": "# AWS IoT Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nAWS IoT Core lets you connect billions of IoT devices and route trillions of\nmessages to AWS services without managing infrastructure.\n\n## Installation\n\nInstall the module:\n\n```console\n$ npm i @aws-cdk/aws-iot\n```\n\nImport it into your code:\n\n```ts nofixture\nimport * as iot from '@aws-cdk/aws-iot-alpha';\n```\n\n## `TopicRule`\n\nCreate a topic rule that give your devices the ability to interact with AWS services.\nYou can create a topic rule with an action that invoke the Lambda action as following:\n\n```ts\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```\n\nOr, you can add an action after constructing the `TopicRule` instance as following:\n\n```ts\ndeclare 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));\n```\n\nYou can also supply `errorAction` as following,\nand the IoT Rule will trigger it if a rule's action is unable to perform:\n\n```ts\nimport * 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});\n```\n\nIf you wanna make the topic rule disable, add property `enabled: false` as following:\n\n```ts\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```\n\nSee also [@aws-cdk/aws-iot-actions](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-iot-actions-readme.html) for other actions.\n"
2983
+ "markdown": "# AWS IoT Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nAWS IoT Core lets you connect billions of IoT devices and route trillions of\nmessages to AWS services without managing infrastructure.\n\n## Installation\n\nInstall the module:\n\n```console\n$ npm i @aws-cdk/aws-iot\n```\n\nImport it into your code:\n\n```ts nofixture\nimport * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\n```\n\n## `TopicRule`\n\nCreate a topic rule that give your devices the ability to interact with AWS services.\nYou can create a topic rule with an action that invoke the Lambda action as following:\n\n```ts\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```\n\nOr, you can add an action after constructing the `TopicRule` instance as following:\n\n```ts\ndeclare 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));\n```\n\nYou can also supply `errorAction` as following,\nand the IoT Rule will trigger it if a rule's action is unable to perform:\n\n```ts\nimport * 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});\n```\n\nIf you wanna make the topic rule disable, add property `enabled: false` as following:\n\n```ts\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```\n\nSee also [@aws-cdk/aws-iot-actions](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-iot-actions-readme.html) for other actions.\n"
2958
2984
  },
2959
2985
  "repository": {
2960
2986
  "directory": "packages/individual-packages/aws-iot",
@@ -3624,6 +3650,6 @@
3624
3650
  "symbolId": "lib/topic-rule:TopicRuleProps"
3625
3651
  }
3626
3652
  },
3627
- "version": "2.15.0-alpha.0",
3653
+ "version": "2.18.0-alpha.0",
3628
3654
  "fingerprint": "**********"
3629
3655
  }
package/.jsii.tabl.json CHANGED
@@ -1,23 +1,27 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.54.0",
3
+ "toolVersion": "1.55.1",
4
4
  "snippets": {
5
- "7853339f23a0899c4aadcc10ca624d49862a77ce30da2ab0947af22332c8ec71": {
5
+ "f02e129b0f50c8efcec0729c7445e16463a283b5624de93fa7e67b6b0df9e92c": {
6
6
  "translations": {
7
7
  "python": {
8
- "source": "import aws_cdk.aws_iot_alpha as iot",
8
+ "source": "import aws_cdk.aws_iot_alpha as iot\nimport aws_cdk.aws_iot_actions_alpha as actions",
9
9
  "version": "2"
10
10
  },
11
11
  "csharp": {
12
- "source": "using Amazon.CDK.AWS.IoT.Alpha;",
12
+ "source": "using Amazon.CDK.AWS.IoT.Alpha;\nusing Amazon.CDK.AWS.IoT.Actions.Alpha;",
13
13
  "version": "1"
14
14
  },
15
15
  "java": {
16
- "source": "import software.amazon.awscdk.services.iot.alpha.*;",
16
+ "source": "import software.amazon.awscdk.services.iot.alpha.*;\nimport software.amazon.awscdk.services.iot.actions.alpha.*;",
17
+ "version": "1"
18
+ },
19
+ "go": {
20
+ "source": "import iot \"github.com/aws/aws-cdk-go/awscdkiotalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkiotactionsalpha\"",
17
21
  "version": "1"
18
22
  },
19
23
  "$": {
20
- "source": "import * as iot from '@aws-cdk/aws-iot-alpha';",
24
+ "source": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';",
21
25
  "version": "0"
22
26
  }
23
27
  },
@@ -33,13 +37,13 @@
33
37
  },
34
38
  "didCompile": true,
35
39
  "fqnsReferenced": [],
36
- "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';",
40
+ "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';",
37
41
  "syntaxKindCounter": {
38
- "10": 1,
39
- "75": 1,
40
- "254": 1,
41
- "255": 1,
42
- "256": 1,
42
+ "10": 2,
43
+ "75": 2,
44
+ "254": 2,
45
+ "255": 2,
46
+ "256": 2,
43
47
  "290": 1
44
48
  },
45
49
  "fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
@@ -58,6 +62,10 @@
58
62
  "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();",
59
63
  "version": "1"
60
64
  },
65
+ "go": {
66
+ "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})",
67
+ "version": "1"
68
+ },
61
69
  "$": {
62
70
  "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});",
63
71
  "version": "0"
@@ -70,7 +78,7 @@
70
78
  },
71
79
  "field": {
72
80
  "field": "markdown",
73
- "line": 40
81
+ "line": 41
74
82
  }
75
83
  },
76
84
  "didCompile": true,
@@ -105,7 +113,7 @@
105
113
  "243": 1,
106
114
  "281": 7
107
115
  },
108
- "fqnsFingerprint": "736e49de3752296afb5fcfe14a47634209f417e0fb9d1b53b4b7827765e78353"
116
+ "fqnsFingerprint": "48cc021825017e77ffd624a36cf07b4c32c5205d6b1ccaff44245030b8506fc8"
109
117
  },
110
118
  "8d423264b18bf84ebd96ef345dff9fb3f2c3344e6d7f2b0cf7b8f8b5bd3b740b": {
111
119
  "translations": {
@@ -121,6 +129,10 @@
121
129
  "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));",
122
130
  "version": "1"
123
131
  },
132
+ "go": {
133
+ "source": "var func function\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))",
134
+ "version": "1"
135
+ },
124
136
  "$": {
125
137
  "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));",
126
138
  "version": "0"
@@ -133,7 +145,7 @@
133
145
  },
134
146
  "field": {
135
147
  "field": "markdown",
136
- "line": 61
148
+ "line": 62
137
149
  }
138
150
  },
139
151
  "didCompile": true,
@@ -166,7 +178,7 @@
166
178
  "281": 1,
167
179
  "290": 1
168
180
  },
169
- "fqnsFingerprint": "4b5c55b809ccbc5b7b3e8a659f395611cfe76c52c9290cfd979fddc55cd1d1a7"
181
+ "fqnsFingerprint": "e80d8cc9fe619faf851ec2216c0926350a2b7f93e82e9b290b340577e41cc943"
170
182
  },
171
183
  "d00de3b61505786f1520d5a3ae725275f8b4e2a343cf3712973b8463c04ad016": {
172
184
  "translations": {
@@ -182,6 +194,10 @@
182
194
  "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();",
183
195
  "version": "1"
184
196
  },
197
+ "go": {
198
+ "source": "import logs \"github.com/aws/aws-cdk-go/awscdk\"\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})",
199
+ "version": "1"
200
+ },
185
201
  "$": {
186
202
  "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});",
187
203
  "version": "0"
@@ -194,7 +210,7 @@
194
210
  },
195
211
  "field": {
196
212
  "field": "markdown",
197
- "line": 73
213
+ "line": 74
198
214
  }
199
215
  },
200
216
  "didCompile": true,
@@ -227,7 +243,7 @@
227
243
  "281": 2,
228
244
  "290": 1
229
245
  },
230
- "fqnsFingerprint": "64ff529d216bd4f3e923d82025d38ffe4cb0f49c61f1a20532662d4339e24d54"
246
+ "fqnsFingerprint": "c298f93fdbf4bc8b9639b57116cc91f9ee69d8527b366cb45c9bbe666c4f4241"
231
247
  },
232
248
  "13a44d58d3cf9be7a9d0210c8f7b3044c28662dd037a3f848b740dd78ba1c33d": {
233
249
  "translations": {
@@ -243,6 +259,10 @@
243
259
  "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();",
244
260
  "version": "1"
245
261
  },
262
+ "go": {
263
+ "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})",
264
+ "version": "1"
265
+ },
246
266
  "$": {
247
267
  "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});",
248
268
  "version": "0"
@@ -255,7 +275,7 @@
255
275
  },
256
276
  "field": {
257
277
  "field": "markdown",
258
- "line": 86
278
+ "line": 87
259
279
  }
260
280
  },
261
281
  "didCompile": true,
@@ -278,7 +298,7 @@
278
298
  "226": 1,
279
299
  "281": 2
280
300
  },
281
- "fqnsFingerprint": "6d07118042a73a79d343792f3cd4bf47872a8e612565a68a694f2fcd76aa5a8b"
301
+ "fqnsFingerprint": "3f7676e87cb8a3ba42e61fd28152f19b22d1c9e7fcbdeb5dd539eab571d598a0"
282
302
  },
283
303
  "478bc6ac05a0df94d2a93853923e4a64d07e327bee9751731f1e0c3c563fc8dd": {
284
304
  "translations": {
@@ -294,6 +314,10 @@
294
314
  "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();",
295
315
  "version": "1"
296
316
  },
317
+ "go": {
318
+ "source": "import iot_alpha \"github.com/aws/aws-cdk-go/awscdkiotalpha\"\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: &timestreamActionProperty{\n\t\t\tdatabaseName: jsii.String(\"databaseName\"),\n\t\t\tdimensions: []interface{}{\n\t\t\t\t&timestreamDimensionProperty{\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: &timestreamTimestampProperty{\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}",
319
+ "version": "1"
320
+ },
297
321
  "$": {
298
322
  "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};",
299
323
  "version": "0"
@@ -348,6 +372,10 @@
348
372
  "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\n\nTopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"))\n .actions(List.of(\n S3PutObjectAction.Builder.create(bucket)\n .accessControl(BucketAccessControl.PUBLIC_READ)\n .build()))\n .build();",
349
373
  "version": "1"
350
374
  },
375
+ "go": {
376
+ "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\n\niot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT * FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewS3PutObjectAction(bucket, &s3PutObjectActionProps{\n\t\t\taccessControl: s3.bucketAccessControl_PUBLIC_READ,\n\t\t}),\n\t},\n})",
377
+ "version": "1"
378
+ },
351
379
  "$": {
352
380
  "source": "const bucket = new s3.Bucket(this, 'MyBucket');\n\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"),\n actions: [\n new actions.S3PutObjectAction(bucket, {\n accessControl: s3.BucketAccessControl.PUBLIC_READ,\n }),\n ],\n});",
353
381
  "version": "0"
@@ -391,7 +419,7 @@
391
419
  "243": 1,
392
420
  "281": 3
393
421
  },
394
- "fqnsFingerprint": "c4b60daf4aa4c9fd78fcb18b2ab9bca2907317e588221a06c20cc9dee8ed7590"
422
+ "fqnsFingerprint": "51bc5bb73eda76d28f012da5cb3e0fa1be14eeec5acf0922ba7d3eebe7b361cc"
395
423
  },
396
424
  "74bb7d4294a32fb4614b808694f4a4dfebbd13621b825e7ac033eae8fb48f256": {
397
425
  "translations": {
@@ -407,6 +435,10 @@
407
435
  "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();",
408
436
  "version": "1"
409
437
  },
438
+ "go": {
439
+ "source": "import iot_alpha \"github.com/aws/aws-cdk-go/awscdkiotalpha\"\niotSqlConfig := &iotSqlConfig{\n\tawsIotSqlVersion: jsii.String(\"awsIotSqlVersion\"),\n\tsql: jsii.String(\"sql\"),\n}",
440
+ "version": "1"
441
+ },
410
442
  "$": {
411
443
  "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};",
412
444
  "version": "0"
@@ -457,6 +489,10 @@
457
489
  "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\n\nTopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"))\n .actions(List.of(\n S3PutObjectAction.Builder.create(bucket)\n .accessControl(BucketAccessControl.PUBLIC_READ)\n .build()))\n .build();",
458
490
  "version": "1"
459
491
  },
492
+ "go": {
493
+ "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\n\niot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT * FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewS3PutObjectAction(bucket, &s3PutObjectActionProps{\n\t\t\taccessControl: s3.bucketAccessControl_PUBLIC_READ,\n\t\t}),\n\t},\n})",
494
+ "version": "1"
495
+ },
460
496
  "$": {
461
497
  "source": "const bucket = new s3.Bucket(this, 'MyBucket');\n\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"),\n actions: [\n new actions.S3PutObjectAction(bucket, {\n accessControl: s3.BucketAccessControl.PUBLIC_READ,\n }),\n ],\n});",
462
498
  "version": "0"
@@ -500,7 +536,7 @@
500
536
  "243": 1,
501
537
  "281": 3
502
538
  },
503
- "fqnsFingerprint": "c4b60daf4aa4c9fd78fcb18b2ab9bca2907317e588221a06c20cc9dee8ed7590"
539
+ "fqnsFingerprint": "51bc5bb73eda76d28f012da5cb3e0fa1be14eeec5acf0922ba7d3eebe7b361cc"
504
540
  },
505
541
  "c8e9ba7c954601111cd6c8ba2df9489198e5c315310b087bef54677756077f96": {
506
542
  "translations": {
@@ -516,6 +552,10 @@
516
552
  "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\n\nTopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"))\n .actions(List.of(\n S3PutObjectAction.Builder.create(bucket)\n .accessControl(BucketAccessControl.PUBLIC_READ)\n .build()))\n .build();",
517
553
  "version": "1"
518
554
  },
555
+ "go": {
556
+ "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\n\niot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT * FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewS3PutObjectAction(bucket, &s3PutObjectActionProps{\n\t\t\taccessControl: s3.bucketAccessControl_PUBLIC_READ,\n\t\t}),\n\t},\n})",
557
+ "version": "1"
558
+ },
519
559
  "$": {
520
560
  "source": "const bucket = new s3.Bucket(this, 'MyBucket');\n\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"),\n actions: [\n new actions.S3PutObjectAction(bucket, {\n accessControl: s3.BucketAccessControl.PUBLIC_READ,\n }),\n ],\n});",
521
561
  "version": "0"
@@ -559,7 +599,7 @@
559
599
  "243": 1,
560
600
  "281": 3
561
601
  },
562
- "fqnsFingerprint": "c4b60daf4aa4c9fd78fcb18b2ab9bca2907317e588221a06c20cc9dee8ed7590"
602
+ "fqnsFingerprint": "51bc5bb73eda76d28f012da5cb3e0fa1be14eeec5acf0922ba7d3eebe7b361cc"
563
603
  }
564
604
  }
565
605
  }
package/README.md CHANGED
@@ -30,6 +30,7 @@ Import it into your code:
30
30
 
31
31
  ```ts nofixture
32
32
  import * as iot from '@aws-cdk/aws-iot-alpha';
33
+ import * as actions from '@aws-cdk/aws-iot-actions-alpha';
33
34
  ```
34
35
 
35
36
  ## `TopicRule`
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.15.0-alpha.0" };
41
+ IotSql[_a] = { fqn: "@aws-cdk/aws-iot-alpha.IotSql", version: "2.18.0-alpha.0" };
42
42
  class IotSqlImpl extends IotSql {
43
43
  constructor(version, sql) {
44
44
  super();
package/lib/topic-rule.js CHANGED
@@ -83,5 +83,5 @@ class TopicRule extends aws_cdk_lib_1.Resource {
83
83
  }
84
84
  exports.TopicRule = TopicRule;
85
85
  _a = JSII_RTTI_SYMBOL_1;
86
- TopicRule[_a] = { fqn: "@aws-cdk/aws-iot-alpha.TopicRule", version: "2.15.0-alpha.0" };
86
+ TopicRule[_a] = { fqn: "@aws-cdk/aws-iot-alpha.TopicRule", version: "2.18.0-alpha.0" };
87
87
  //# sourceMappingURL=data:application/json;base64,eyJ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cHR5IG9iamVjdC4nKTtcbiAgICB9XG4gICAgaWYgKGtleXMubGVuZ3RoID4gMSkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGBBbiBhY3Rpb24gcHJvcGVydHkgY2Fubm90IGhhdmUgbXVsdGlwbGUga2V5cywgcmVjZWl2ZWQ6ICR7a2V5c31gKTtcbiAgICB9XG5cbiAgICB0aGlzLmFjdGlvbnMucHVzaChjb25maWd1cmF0aW9uKTtcbiAgfVxufVxuIl19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/aws-iot-alpha",
3
- "version": "2.15.0-alpha.0",
3
+ "version": "2.18.0-alpha.0",
4
4
  "private": false,
5
5
  "description": "The CDK Construct Library for AWS::IoT",
6
6
  "main": "lib/index.js",
@@ -81,19 +81,19 @@
81
81
  },
82
82
  "license": "Apache-2.0",
83
83
  "devDependencies": {
84
- "@aws-cdk/cdk-build-tools": "2.15.0",
85
- "@aws-cdk/cdk-integ-tools": "2.15.0",
86
- "@aws-cdk/cfn2ts": "2.15.0",
87
- "@aws-cdk/pkglint": "2.15.0",
84
+ "@aws-cdk/cdk-build-tools": "2.18.0",
85
+ "@aws-cdk/cdk-integ-tools": "2.18.0",
86
+ "@aws-cdk/cfn2ts": "2.18.0",
87
+ "@aws-cdk/pkglint": "2.18.0",
88
88
  "@types/jest": "^27.4.1",
89
89
  "jest": "^27.5.1",
90
- "aws-cdk-lib": "2.15.0",
90
+ "aws-cdk-lib": "2.18.0",
91
91
  "constructs": "^10.0.0"
92
92
  },
93
93
  "dependencies": {},
94
94
  "homepage": "https://github.com/aws/aws-cdk",
95
95
  "peerDependencies": {
96
- "aws-cdk-lib": "^2.15.0",
96
+ "aws-cdk-lib": "^2.18.0",
97
97
  "constructs": "^10.0.0"
98
98
  },
99
99
  "engines": {