@aws-cdk/aws-iot-alpha 2.1.0-alpha.0 → 2.5.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.1.0",
11
+ "aws-cdk-lib": "^2.5.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -105,6 +105,19 @@
105
105
  }
106
106
  }
107
107
  },
108
+ "aws-cdk-lib.aws_amplifyuibuilder": {
109
+ "targets": {
110
+ "dotnet": {
111
+ "namespace": "Amazon.CDK.AWS.AmplifyUIBuilder"
112
+ },
113
+ "java": {
114
+ "package": "software.amazon.awscdk.services.amplifyuibuilder"
115
+ },
116
+ "python": {
117
+ "module": "aws_cdk.aws_amplifyuibuilder"
118
+ }
119
+ }
120
+ },
108
121
  "aws-cdk-lib.aws_apigateway": {
109
122
  "targets": {
110
123
  "dotnet": {
@@ -1120,6 +1133,19 @@
1120
1133
  }
1121
1134
  }
1122
1135
  },
1136
+ "aws-cdk-lib.aws_evidently": {
1137
+ "targets": {
1138
+ "dotnet": {
1139
+ "namespace": "Amazon.CDK.AWS.Evidently"
1140
+ },
1141
+ "java": {
1142
+ "package": "software.amazon.awscdk.services.evidently"
1143
+ },
1144
+ "python": {
1145
+ "module": "aws_cdk.aws_evidently"
1146
+ }
1147
+ }
1148
+ },
1123
1149
  "aws-cdk-lib.aws_finspace": {
1124
1150
  "targets": {
1125
1151
  "dotnet": {
@@ -1601,6 +1627,19 @@
1601
1627
  }
1602
1628
  }
1603
1629
  },
1630
+ "aws-cdk-lib.aws_lex": {
1631
+ "targets": {
1632
+ "dotnet": {
1633
+ "namespace": "Amazon.CDK.AWS.Lex"
1634
+ },
1635
+ "java": {
1636
+ "package": "software.amazon.awscdk.services.lex"
1637
+ },
1638
+ "python": {
1639
+ "module": "aws_cdk.aws_lex"
1640
+ }
1641
+ }
1642
+ },
1604
1643
  "aws-cdk-lib.aws_licensemanager": {
1605
1644
  "targets": {
1606
1645
  "dotnet": {
@@ -2030,6 +2069,19 @@
2030
2069
  }
2031
2070
  }
2032
2071
  },
2072
+ "aws-cdk-lib.aws_refactorspaces": {
2073
+ "targets": {
2074
+ "dotnet": {
2075
+ "namespace": "Amazon.CDK.AWS.RefactorSpaces"
2076
+ },
2077
+ "java": {
2078
+ "package": "software.amazon.awscdk.services.refactorspaces"
2079
+ },
2080
+ "python": {
2081
+ "module": "aws_cdk.aws_refactorspaces"
2082
+ }
2083
+ }
2084
+ },
2033
2085
  "aws-cdk-lib.aws_rekognition": {
2034
2086
  "targets": {
2035
2087
  "dotnet": {
@@ -2043,6 +2095,19 @@
2043
2095
  }
2044
2096
  }
2045
2097
  },
2098
+ "aws-cdk-lib.aws_resiliencehub": {
2099
+ "targets": {
2100
+ "dotnet": {
2101
+ "namespace": "Amazon.CDK.AWS.ResilienceHub"
2102
+ },
2103
+ "java": {
2104
+ "package": "software.amazon.awscdk.services.resiliencehub"
2105
+ },
2106
+ "python": {
2107
+ "module": "aws_cdk.aws_resiliencehub"
2108
+ }
2109
+ }
2110
+ },
2046
2111
  "aws-cdk-lib.aws_resourcegroups": {
2047
2112
  "targets": {
2048
2113
  "dotnet": {
@@ -2147,6 +2212,19 @@
2147
2212
  }
2148
2213
  }
2149
2214
  },
2215
+ "aws-cdk-lib.aws_rum": {
2216
+ "targets": {
2217
+ "dotnet": {
2218
+ "namespace": "Amazon.CDK.AWS.RUM"
2219
+ },
2220
+ "java": {
2221
+ "package": "software.amazon.awscdk.services.rum"
2222
+ },
2223
+ "python": {
2224
+ "module": "aws_cdk.aws_rum"
2225
+ }
2226
+ }
2227
+ },
2150
2228
  "aws-cdk-lib.aws_s3": {
2151
2229
  "targets": {
2152
2230
  "dotnet": {
@@ -2777,7 +2855,7 @@
2777
2855
  "stability": "experimental"
2778
2856
  },
2779
2857
  "homepage": "https://github.com/aws/aws-cdk",
2780
- "jsiiVersion": "1.46.0 (build cd08c55)",
2858
+ "jsiiVersion": "1.50.0 (build d1830a4)",
2781
2859
  "keywords": [
2782
2860
  "aws",
2783
2861
  "cdk",
@@ -2839,7 +2917,7 @@
2839
2917
  "docs": {
2840
2918
  "stability": "experimental",
2841
2919
  "summary": "Properties for an topic rule action.",
2842
- "example": "// 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\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};",
2920
+ "example": "// 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};",
2843
2921
  "custom": {
2844
2922
  "exampleMetadata": "fixture=_generated"
2845
2923
  }
@@ -2978,6 +3056,9 @@
2978
3056
  "abstract": true,
2979
3057
  "assembly": "@aws-cdk/aws-iot-alpha",
2980
3058
  "docs": {
3059
+ "custom": {
3060
+ "exampleMetadata": "infused"
3061
+ },
2981
3062
  "example": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
2982
3063
  "stability": "experimental",
2983
3064
  "summary": "Defines AWS IoT SQL."
@@ -3117,7 +3198,7 @@
3117
3198
  "docs": {
3118
3199
  "stability": "experimental",
3119
3200
  "summary": "The type returned from the `bind()` method in {@link IotSql}.",
3120
- "example": "// 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\nconst iotSqlConfig: iot_alpha.IotSqlConfig = {\n awsIotSqlVersion: 'awsIotSqlVersion',\n sql: 'sql',\n};",
3201
+ "example": "// 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};",
3121
3202
  "custom": {
3122
3203
  "exampleMetadata": "fixture=_generated"
3123
3204
  }
@@ -3169,6 +3250,9 @@
3169
3250
  "assembly": "@aws-cdk/aws-iot-alpha",
3170
3251
  "base": "aws-cdk-lib.Resource",
3171
3252
  "docs": {
3253
+ "custom": {
3254
+ "exampleMetadata": "infused"
3255
+ },
3172
3256
  "example": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
3173
3257
  "stability": "experimental",
3174
3258
  "summary": "Defines an AWS IoT Rule in this stack."
@@ -3328,6 +3412,9 @@
3328
3412
  "assembly": "@aws-cdk/aws-iot-alpha",
3329
3413
  "datatype": true,
3330
3414
  "docs": {
3415
+ "custom": {
3416
+ "exampleMetadata": "infused"
3417
+ },
3331
3418
  "example": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
3332
3419
  "stability": "experimental",
3333
3420
  "summary": "Properties for defining an AWS IoT Rule."
@@ -3456,6 +3543,6 @@
3456
3543
  "symbolId": "lib/topic-rule:TopicRuleProps"
3457
3544
  }
3458
3545
  },
3459
- "version": "2.1.0-alpha.0",
3546
+ "version": "2.5.0-alpha.0",
3460
3547
  "fingerprint": "**********"
3461
3548
  }
@@ -0,0 +1,574 @@
1
+ {
2
+ "version": "2",
3
+ "toolVersion": "1.50.0",
4
+ "snippets": {
5
+ "7853339f23a0899c4aadcc10ca624d49862a77ce30da2ab0947af22332c8ec71": {
6
+ "translations": {
7
+ "python": {
8
+ "source": "import aws_cdk.aws_iot_alpha as iot",
9
+ "version": "1"
10
+ },
11
+ "csharp": {
12
+ "source": "using Amazon.CDK.AWS.IoT.Alpha;",
13
+ "version": "1"
14
+ },
15
+ "java": {
16
+ "source": "import software.amazon.awscdk.services.iot.alpha.*;",
17
+ "version": "1"
18
+ },
19
+ "$": {
20
+ "source": "import * as iot from '@aws-cdk/aws-iot-alpha';",
21
+ "version": "0"
22
+ }
23
+ },
24
+ "location": {
25
+ "api": {
26
+ "api": "moduleReadme",
27
+ "moduleFqn": "@aws-cdk/aws-iot-alpha"
28
+ },
29
+ "field": {
30
+ "field": "markdown",
31
+ "line": 31
32
+ }
33
+ },
34
+ "didCompile": true,
35
+ "fqnsReferenced": [],
36
+ "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';",
37
+ "syntaxKindCounter": {
38
+ "10": 1,
39
+ "75": 1,
40
+ "254": 1,
41
+ "255": 1,
42
+ "256": 1,
43
+ "290": 1
44
+ },
45
+ "fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
46
+ },
47
+ "06505bc09008fc9fb6f43c457c5c2d3bf694418908770aae816db8107a5f3c0a": {
48
+ "translations": {
49
+ "python": {
50
+ "source": "import aws_cdk.aws_iot_alpha as iot\nimport aws_cdk.aws_iot_actions_alpha as actions\nimport aws_cdk.aws_lambda as lambda_\n\nfunc = 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)",
51
+ "version": "1"
52
+ },
53
+ "csharp": {
54
+ "source": "using Amazon.CDK.AWS.IoT.Alpha;\nusing Amazon.CDK.AWS.IoT.Actions.Alpha;\nusing Amazon.CDK.AWS.Lambda;\n\nFunction 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});",
55
+ "version": "1"
56
+ },
57
+ "java": {
58
+ "source": "import software.amazon.awscdk.services.iot.alpha.*;\nimport software.amazon.awscdk.services.iot.actions.alpha.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nFunction 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
+ "version": "1"
60
+ },
61
+ "$": {
62
+ "source": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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});",
63
+ "version": "0"
64
+ }
65
+ },
66
+ "location": {
67
+ "api": {
68
+ "api": "moduleReadme",
69
+ "moduleFqn": "@aws-cdk/aws-iot-alpha"
70
+ },
71
+ "field": {
72
+ "field": "markdown",
73
+ "line": 40
74
+ }
75
+ },
76
+ "didCompile": false,
77
+ "fqnsReferenced": [
78
+ "@aws-cdk/aws-iot-actions-alpha.LambdaFunctionAction",
79
+ "@aws-cdk/aws-iot-alpha.IotSql",
80
+ "@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
81
+ "@aws-cdk/aws-iot-alpha.TopicRule",
82
+ "@aws-cdk/aws-iot-alpha.TopicRuleProps",
83
+ "aws-cdk-lib.aws_lambda.Code",
84
+ "aws-cdk-lib.aws_lambda.Code#fromInline",
85
+ "aws-cdk-lib.aws_lambda.Function",
86
+ "aws-cdk-lib.aws_lambda.FunctionProps",
87
+ "aws-cdk-lib.aws_lambda.IFunction",
88
+ "aws-cdk-lib.aws_lambda.Runtime",
89
+ "aws-cdk-lib.aws_lambda.Runtime#NODEJS_14_X"
90
+ ],
91
+ "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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});",
92
+ "syntaxKindCounter": {
93
+ "10": 9,
94
+ "14": 1,
95
+ "75": 27,
96
+ "104": 2,
97
+ "192": 1,
98
+ "193": 2,
99
+ "194": 9,
100
+ "196": 2,
101
+ "197": 3,
102
+ "225": 1,
103
+ "226": 1,
104
+ "242": 1,
105
+ "243": 1,
106
+ "254": 3,
107
+ "255": 3,
108
+ "256": 3,
109
+ "281": 7,
110
+ "290": 1
111
+ },
112
+ "fqnsFingerprint": "a47ff018a0d2cc171849954128da8928f8a63fe9151d5cc7fb8ca0e8744feb70"
113
+ },
114
+ "08bab462d95928b7e71c616d9141f23217b8bc63886cbbb87ef7c6ea6678ce8d": {
115
+ "translations": {
116
+ "python": {
117
+ "source": "topic_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))",
118
+ "version": "1"
119
+ },
120
+ "csharp": {
121
+ "source": "var topicRule = new iot.TopicRule(this, \"TopicRule\", new Struct {\n Sql = iot.IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\")\n});\ntopicRule.AddAction(new actions.LambdaFunctionAction(func));",
122
+ "version": "1"
123
+ },
124
+ "java": {
125
+ "source": "Object topicRule = TopicRule.Builder.create(this, \"TopicRule\")\n .sql(iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"))\n .build();\ntopicRule.addAction(new LambdaFunctionAction(func));",
126
+ "version": "1"
127
+ },
128
+ "$": {
129
+ "source": "const 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))",
130
+ "version": "0"
131
+ }
132
+ },
133
+ "location": {
134
+ "api": {
135
+ "api": "moduleReadme",
136
+ "moduleFqn": "@aws-cdk/aws-iot-alpha"
137
+ },
138
+ "field": {
139
+ "field": "markdown",
140
+ "line": 65
141
+ }
142
+ },
143
+ "didCompile": false,
144
+ "fqnsReferenced": [],
145
+ "fullSource": "const 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))",
146
+ "syntaxKindCounter": {
147
+ "10": 2,
148
+ "75": 12,
149
+ "104": 1,
150
+ "193": 1,
151
+ "194": 5,
152
+ "196": 2,
153
+ "197": 2,
154
+ "225": 1,
155
+ "226": 1,
156
+ "242": 1,
157
+ "243": 1,
158
+ "281": 1,
159
+ "290": 1
160
+ },
161
+ "fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
162
+ },
163
+ "f53a39bb7f087c11bf7334ebee21a2f22b8a013bc1592403087fa111495efb98": {
164
+ "translations": {
165
+ "python": {
166
+ "source": "import aws_cdk.aws_iot_alpha as iot\nimport aws_cdk.aws_iot_actions_alpha as actions\nimport aws_cdk.aws_logs as logs\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)",
167
+ "version": "1"
168
+ },
169
+ "csharp": {
170
+ "source": "using Amazon.CDK.AWS.IoT.Alpha;\nusing Amazon.CDK.AWS.IoT.Actions.Alpha;\nusing Amazon.CDK.AWS.Logs;\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});",
171
+ "version": "1"
172
+ },
173
+ "java": {
174
+ "source": "import software.amazon.awscdk.services.iot.alpha.*;\nimport software.amazon.awscdk.services.iot.actions.alpha.*;\nimport software.amazon.awscdk.services.logs.*;\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();",
175
+ "version": "1"
176
+ },
177
+ "$": {
178
+ "source": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\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});",
179
+ "version": "0"
180
+ }
181
+ },
182
+ "location": {
183
+ "api": {
184
+ "api": "moduleReadme",
185
+ "moduleFqn": "@aws-cdk/aws-iot-alpha"
186
+ },
187
+ "field": {
188
+ "field": "markdown",
189
+ "line": 75
190
+ }
191
+ },
192
+ "didCompile": false,
193
+ "fqnsReferenced": [
194
+ "@aws-cdk/aws-iot-actions-alpha.CloudWatchLogsAction",
195
+ "@aws-cdk/aws-iot-alpha.IAction",
196
+ "@aws-cdk/aws-iot-alpha.IotSql",
197
+ "@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
198
+ "@aws-cdk/aws-iot-alpha.TopicRule",
199
+ "@aws-cdk/aws-iot-alpha.TopicRuleProps",
200
+ "aws-cdk-lib.aws_logs.ILogGroup",
201
+ "aws-cdk-lib.aws_logs.LogGroup"
202
+ ],
203
+ "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\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});",
204
+ "syntaxKindCounter": {
205
+ "10": 6,
206
+ "75": 16,
207
+ "104": 2,
208
+ "193": 1,
209
+ "194": 5,
210
+ "196": 1,
211
+ "197": 3,
212
+ "225": 1,
213
+ "226": 1,
214
+ "242": 1,
215
+ "243": 1,
216
+ "254": 3,
217
+ "255": 3,
218
+ "256": 3,
219
+ "281": 2,
220
+ "290": 1
221
+ },
222
+ "fqnsFingerprint": "0388b29c1ae28f54e547168aa8461aaa1c95d577e11350c847cff6aa6d64d13c"
223
+ },
224
+ "13a44d58d3cf9be7a9d0210c8f7b3044c28662dd037a3f848b740dd78ba1c33d": {
225
+ "translations": {
226
+ "python": {
227
+ "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)",
228
+ "version": "1"
229
+ },
230
+ "csharp": {
231
+ "source": "new iot.TopicRule(this, \"TopicRule\", new Struct {\n Sql = iot.IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"),\n Enabled = false\n});",
232
+ "version": "1"
233
+ },
234
+ "java": {
235
+ "source": "TopicRule.Builder.create(this, \"TopicRule\")\n .sql(iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp FROM 'device/+/data'\"))\n .enabled(false)\n .build();",
236
+ "version": "1"
237
+ },
238
+ "$": {
239
+ "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});",
240
+ "version": "0"
241
+ }
242
+ },
243
+ "location": {
244
+ "api": {
245
+ "api": "moduleReadme",
246
+ "moduleFqn": "@aws-cdk/aws-iot-alpha"
247
+ },
248
+ "field": {
249
+ "field": "markdown",
250
+ "line": 90
251
+ }
252
+ },
253
+ "didCompile": false,
254
+ "fqnsReferenced": [],
255
+ "fullSource": "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});",
256
+ "syntaxKindCounter": {
257
+ "10": 2,
258
+ "75": 7,
259
+ "91": 1,
260
+ "104": 1,
261
+ "193": 1,
262
+ "194": 3,
263
+ "196": 1,
264
+ "197": 1,
265
+ "226": 1,
266
+ "281": 2,
267
+ "290": 1
268
+ },
269
+ "fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
270
+ },
271
+ "478bc6ac05a0df94d2a93853923e4a64d07e327bee9751731f1e0c3c563fc8dd": {
272
+ "translations": {
273
+ "python": {
274
+ "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)",
275
+ "version": "1"
276
+ },
277
+ "csharp": {
278
+ "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};",
279
+ "version": "1"
280
+ },
281
+ "java": {
282
+ "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();",
283
+ "version": "1"
284
+ },
285
+ "$": {
286
+ "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};",
287
+ "version": "0"
288
+ }
289
+ },
290
+ "location": {
291
+ "api": {
292
+ "api": "type",
293
+ "fqn": "@aws-cdk/aws-iot-alpha.ActionConfig"
294
+ },
295
+ "field": {
296
+ "field": "example"
297
+ }
298
+ },
299
+ "didCompile": true,
300
+ "fqnsReferenced": [
301
+ "@aws-cdk/aws-iot-alpha.ActionConfig",
302
+ "aws-cdk-lib.aws_iot.CfnTopicRule.ActionProperty"
303
+ ],
304
+ "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} }",
305
+ "syntaxKindCounter": {
306
+ "8": 1,
307
+ "10": 91,
308
+ "75": 133,
309
+ "91": 5,
310
+ "153": 1,
311
+ "169": 1,
312
+ "192": 4,
313
+ "193": 34,
314
+ "225": 1,
315
+ "242": 1,
316
+ "243": 1,
317
+ "254": 1,
318
+ "255": 1,
319
+ "256": 1,
320
+ "281": 129,
321
+ "290": 1
322
+ },
323
+ "fqnsFingerprint": "d602ae531ef9ba8278dc8ee1977d20130977336ab00c11fb2f69300b03689683"
324
+ },
325
+ "e5111ee5cd857f4d3a3edb49316373dcf10cb4c7036fa61d14214a48671f1777": {
326
+ "translations": {
327
+ "python": {
328
+ "source": "import aws_cdk.aws_iot_alpha as iot\nimport aws_cdk.aws_iot_actions_alpha as actions\nimport aws_cdk.aws_lambda as lambda_\n\nfunc = 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 sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions=[actions.LambdaFunctionAction(func)]\n)",
329
+ "version": "1"
330
+ },
331
+ "csharp": {
332
+ "source": "using Amazon.CDK.AWS.IoT.Alpha;\nusing Amazon.CDK.AWS.IoT.Actions.Alpha;\nusing Amazon.CDK.AWS.Lambda;\n\nFunction 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 Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n Actions = new [] { new LambdaFunctionAction(func) }\n});",
333
+ "version": "1"
334
+ },
335
+ "java": {
336
+ "source": "import software.amazon.awscdk.services.iot.alpha.*;\nimport software.amazon.awscdk.services.iot.actions.alpha.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nFunction 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 .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"))\n .actions(List.of(new LambdaFunctionAction(func)))\n .build();",
337
+ "version": "1"
338
+ },
339
+ "$": {
340
+ "source": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
341
+ "version": "0"
342
+ }
343
+ },
344
+ "location": {
345
+ "api": {
346
+ "api": "type",
347
+ "fqn": "@aws-cdk/aws-iot-alpha.IotSql"
348
+ },
349
+ "field": {
350
+ "field": "example"
351
+ }
352
+ },
353
+ "didCompile": false,
354
+ "fqnsReferenced": [
355
+ "@aws-cdk/aws-iot-actions-alpha.LambdaFunctionAction",
356
+ "@aws-cdk/aws-iot-alpha.IotSql",
357
+ "@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
358
+ "@aws-cdk/aws-iot-alpha.TopicRule",
359
+ "@aws-cdk/aws-iot-alpha.TopicRuleProps",
360
+ "aws-cdk-lib.aws_lambda.Code",
361
+ "aws-cdk-lib.aws_lambda.Code#fromInline",
362
+ "aws-cdk-lib.aws_lambda.Function",
363
+ "aws-cdk-lib.aws_lambda.FunctionProps",
364
+ "aws-cdk-lib.aws_lambda.IFunction",
365
+ "aws-cdk-lib.aws_lambda.Runtime",
366
+ "aws-cdk-lib.aws_lambda.Runtime#NODEJS_14_X"
367
+ ],
368
+ "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
369
+ "syntaxKindCounter": {
370
+ "10": 7,
371
+ "14": 1,
372
+ "75": 25,
373
+ "104": 2,
374
+ "192": 1,
375
+ "193": 2,
376
+ "194": 9,
377
+ "196": 2,
378
+ "197": 3,
379
+ "225": 1,
380
+ "226": 1,
381
+ "242": 1,
382
+ "243": 1,
383
+ "254": 3,
384
+ "255": 3,
385
+ "256": 3,
386
+ "281": 5,
387
+ "290": 1
388
+ },
389
+ "fqnsFingerprint": "a47ff018a0d2cc171849954128da8928f8a63fe9151d5cc7fb8ca0e8744feb70"
390
+ },
391
+ "74bb7d4294a32fb4614b808694f4a4dfebbd13621b825e7ac033eae8fb48f256": {
392
+ "translations": {
393
+ "python": {
394
+ "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)",
395
+ "version": "1"
396
+ },
397
+ "csharp": {
398
+ "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};",
399
+ "version": "1"
400
+ },
401
+ "java": {
402
+ "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();",
403
+ "version": "1"
404
+ },
405
+ "$": {
406
+ "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};",
407
+ "version": "0"
408
+ }
409
+ },
410
+ "location": {
411
+ "api": {
412
+ "api": "type",
413
+ "fqn": "@aws-cdk/aws-iot-alpha.IotSqlConfig"
414
+ },
415
+ "field": {
416
+ "field": "example"
417
+ }
418
+ },
419
+ "didCompile": true,
420
+ "fqnsReferenced": [
421
+ "@aws-cdk/aws-iot-alpha.IotSqlConfig"
422
+ ],
423
+ "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} }",
424
+ "syntaxKindCounter": {
425
+ "10": 3,
426
+ "75": 6,
427
+ "153": 1,
428
+ "169": 1,
429
+ "193": 1,
430
+ "225": 1,
431
+ "242": 1,
432
+ "243": 1,
433
+ "254": 1,
434
+ "255": 1,
435
+ "256": 1,
436
+ "281": 2,
437
+ "290": 1
438
+ },
439
+ "fqnsFingerprint": "eadc2b7fe175a20273b81ae34142e534e05517c13b710d61c3bdc4ce4b7df5c3"
440
+ },
441
+ "2cf8594367c3c49d7e1fb61e5d9b78eeae26802e36c83af9d7a69e1ee32b4da4": {
442
+ "translations": {
443
+ "python": {
444
+ "source": "import aws_cdk.aws_iot_alpha as iot\nimport aws_cdk.aws_iot_actions_alpha as actions\nimport aws_cdk.aws_lambda as lambda_\n\nfunc = 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 sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions=[actions.LambdaFunctionAction(func)]\n)",
445
+ "version": "1"
446
+ },
447
+ "csharp": {
448
+ "source": "using Amazon.CDK.AWS.IoT.Alpha;\nusing Amazon.CDK.AWS.IoT.Actions.Alpha;\nusing Amazon.CDK.AWS.Lambda;\n\nFunction 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 Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n Actions = new [] { new LambdaFunctionAction(func) }\n});",
449
+ "version": "1"
450
+ },
451
+ "java": {
452
+ "source": "import software.amazon.awscdk.services.iot.alpha.*;\nimport software.amazon.awscdk.services.iot.actions.alpha.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nFunction 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 .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"))\n .actions(List.of(new LambdaFunctionAction(func)))\n .build();",
453
+ "version": "1"
454
+ },
455
+ "$": {
456
+ "source": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
457
+ "version": "0"
458
+ }
459
+ },
460
+ "location": {
461
+ "api": {
462
+ "api": "type",
463
+ "fqn": "@aws-cdk/aws-iot-alpha.TopicRule"
464
+ },
465
+ "field": {
466
+ "field": "example"
467
+ }
468
+ },
469
+ "didCompile": false,
470
+ "fqnsReferenced": [
471
+ "@aws-cdk/aws-iot-actions-alpha.LambdaFunctionAction",
472
+ "@aws-cdk/aws-iot-alpha.IotSql",
473
+ "@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
474
+ "@aws-cdk/aws-iot-alpha.TopicRule",
475
+ "@aws-cdk/aws-iot-alpha.TopicRuleProps",
476
+ "aws-cdk-lib.aws_lambda.Code",
477
+ "aws-cdk-lib.aws_lambda.Code#fromInline",
478
+ "aws-cdk-lib.aws_lambda.Function",
479
+ "aws-cdk-lib.aws_lambda.FunctionProps",
480
+ "aws-cdk-lib.aws_lambda.IFunction",
481
+ "aws-cdk-lib.aws_lambda.Runtime",
482
+ "aws-cdk-lib.aws_lambda.Runtime#NODEJS_14_X"
483
+ ],
484
+ "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
485
+ "syntaxKindCounter": {
486
+ "10": 7,
487
+ "14": 1,
488
+ "75": 25,
489
+ "104": 2,
490
+ "192": 1,
491
+ "193": 2,
492
+ "194": 9,
493
+ "196": 2,
494
+ "197": 3,
495
+ "225": 1,
496
+ "226": 1,
497
+ "242": 1,
498
+ "243": 1,
499
+ "254": 3,
500
+ "255": 3,
501
+ "256": 3,
502
+ "281": 5,
503
+ "290": 1
504
+ },
505
+ "fqnsFingerprint": "a47ff018a0d2cc171849954128da8928f8a63fe9151d5cc7fb8ca0e8744feb70"
506
+ },
507
+ "f07bef2ad7a0246f85faf9a4b05ce7c6daba90954b3030b391f1fb3df22b8785": {
508
+ "translations": {
509
+ "python": {
510
+ "source": "import aws_cdk.aws_iot_alpha as iot\nimport aws_cdk.aws_iot_actions_alpha as actions\nimport aws_cdk.aws_lambda as lambda_\n\nfunc = 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 sql=iot.IotSql.from_string_as_ver20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions=[actions.LambdaFunctionAction(func)]\n)",
511
+ "version": "1"
512
+ },
513
+ "csharp": {
514
+ "source": "using Amazon.CDK.AWS.IoT.Alpha;\nusing Amazon.CDK.AWS.IoT.Actions.Alpha;\nusing Amazon.CDK.AWS.Lambda;\n\nFunction 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 Sql = IotSql.FromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n Actions = new [] { new LambdaFunctionAction(func) }\n});",
515
+ "version": "1"
516
+ },
517
+ "java": {
518
+ "source": "import software.amazon.awscdk.services.iot.alpha.*;\nimport software.amazon.awscdk.services.iot.actions.alpha.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nFunction 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 .sql(IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"))\n .actions(List.of(new LambdaFunctionAction(func)))\n .build();",
519
+ "version": "1"
520
+ },
521
+ "$": {
522
+ "source": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
523
+ "version": "0"
524
+ }
525
+ },
526
+ "location": {
527
+ "api": {
528
+ "api": "type",
529
+ "fqn": "@aws-cdk/aws-iot-alpha.TopicRuleProps"
530
+ },
531
+ "field": {
532
+ "field": "example"
533
+ }
534
+ },
535
+ "didCompile": false,
536
+ "fqnsReferenced": [
537
+ "@aws-cdk/aws-iot-actions-alpha.LambdaFunctionAction",
538
+ "@aws-cdk/aws-iot-alpha.IotSql",
539
+ "@aws-cdk/aws-iot-alpha.IotSql#fromStringAsVer20160323",
540
+ "@aws-cdk/aws-iot-alpha.TopicRule",
541
+ "@aws-cdk/aws-iot-alpha.TopicRuleProps",
542
+ "aws-cdk-lib.aws_lambda.Code",
543
+ "aws-cdk-lib.aws_lambda.Code#fromInline",
544
+ "aws-cdk-lib.aws_lambda.Function",
545
+ "aws-cdk-lib.aws_lambda.FunctionProps",
546
+ "aws-cdk-lib.aws_lambda.IFunction",
547
+ "aws-cdk-lib.aws_lambda.Runtime",
548
+ "aws-cdk-lib.aws_lambda.Runtime#NODEJS_14_X"
549
+ ],
550
+ "fullSource": "import * as iot from '@aws-cdk/aws-iot-alpha';\nimport * as actions from '@aws-cdk/aws-iot-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\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 sql: iot.IotSql.fromStringAsVer20160323(\"SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'\"),\n actions: [new actions.LambdaFunctionAction(func)],\n});",
551
+ "syntaxKindCounter": {
552
+ "10": 7,
553
+ "14": 1,
554
+ "75": 25,
555
+ "104": 2,
556
+ "192": 1,
557
+ "193": 2,
558
+ "194": 9,
559
+ "196": 2,
560
+ "197": 3,
561
+ "225": 1,
562
+ "226": 1,
563
+ "242": 1,
564
+ "243": 1,
565
+ "254": 3,
566
+ "255": 3,
567
+ "256": 3,
568
+ "281": 5,
569
+ "290": 1
570
+ },
571
+ "fqnsFingerprint": "a47ff018a0d2cc171849954128da8928f8a63fe9151d5cc7fb8ca0e8744feb70"
572
+ }
573
+ }
574
+ }
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
189
+ Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/NOTICE CHANGED
@@ -1,2 +1,2 @@
1
1
  AWS Cloud Development Kit (AWS CDK)
2
- Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2012-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // Copyright 2012-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.IoTMetrics = void 0;
5
5
  /* eslint-disable max-len */ // This is generated code - line lengths are difficult to control
@@ -38,4 +38,4 @@ class IoTMetrics {
38
38
  }
39
39
  }
40
40
  exports.IoTMetrics = IoTMetrics;
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW90LWNhbm5lZC1tZXRyaWNzLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImlvdC1jYW5uZWQtbWV0cmljcy5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtFQUErRTs7O0FBRS9FLDRCQUE0QixDQUFDLGlFQUFpRTtBQUU5RixNQUFhLFVBQVU7SUFDZCxNQUFNLENBQUMsYUFBYSxDQUFDLFVBQWdDO1FBQzFELE9BQU87WUFDTCxTQUFTLEVBQUUsU0FBUztZQUNwQixVQUFVLEVBQUUsWUFBWTtZQUN4QixhQUFhLEVBQUUsVUFBVTtZQUN6QixTQUFTLEVBQUUsS0FBSztTQUNqQixDQUFDO0tBQ0g7SUFDTSxNQUFNLENBQUMsYUFBYSxDQUFDLFVBQWdDO1FBQzFELE9BQU87WUFDTCxTQUFTLEVBQUUsU0FBUztZQUNwQixVQUFVLEVBQUUsWUFBWTtZQUN4QixhQUFhLEVBQUUsVUFBVTtZQUN6QixTQUFTLEVBQUUsS0FBSztTQUNqQixDQUFDO0tBQ0g7SUFDTSxNQUFNLENBQUMsd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gICAgIG1ldHJpY05hbWU6ICdSdWxlTm90Rm91bmQnLFxuICAgICAgZGltZW5zaW9uc01hcDogZGltZW5zaW9ucyxcbiAgICAgIHN0YXRpc3RpYzogJ1N1bScsXG4gICAgfTtcbiAgfVxufVxuIl19
package/lib/iot-sql.js CHANGED
@@ -45,7 +45,7 @@ class IotSql {
45
45
  }
46
46
  exports.IotSql = IotSql;
47
47
  _a = JSII_RTTI_SYMBOL_1;
48
- IotSql[_a] = { fqn: "@aws-cdk/aws-iot-alpha.IotSql", version: "2.1.0-alpha.0" };
48
+ IotSql[_a] = { fqn: "@aws-cdk/aws-iot-alpha.IotSql", version: "2.5.0-alpha.0" };
49
49
  class IotSqlImpl extends IotSql {
50
50
  constructor(version, sql) {
51
51
  super();
package/lib/topic-rule.js CHANGED
@@ -90,5 +90,5 @@ class TopicRule extends aws_cdk_lib_1.Resource {
90
90
  }
91
91
  exports.TopicRule = TopicRule;
92
92
  _a = JSII_RTTI_SYMBOL_1;
93
- TopicRule[_a] = { fqn: "@aws-cdk/aws-iot-alpha.TopicRule", version: "2.1.0-alpha.0" };
93
+ TopicRule[_a] = { fqn: "@aws-cdk/aws-iot-alpha.TopicRule", version: "2.5.0-alpha.0" };
94
94
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9waWMtcnVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRvcGljLXJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsNkNBQTBFO0FBSTFFLGlEQUFtRDs7Ozs7O0FBaUNuRCxNQUFhLFNBQVUsU0FBUSxzQkFBUTs7OztJQTBCckMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFxQjs7UUFDN0QsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLEVBQUU7WUFDZixZQUFZLEVBQUUsS0FBSyxDQUFDLGFBQWE7U0FDbEMsQ0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QUFhLENBQUMsQ0FBQztRQUN4QyxJQUFJLElBQUksQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQ3JCLE1BQU0sSUFBSSxLQUFLLENBQUMsK0NBQStDLENBQUMsQ0FBQztTQUNsRTtRQUNELElBQUksSUFBSSxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUU7WUFDbkIsTUFBTSxJQUFJLEtBQUssQ0FBQywyREFBMkQsSUFBSSxFQUFFLENBQUMsQ0FBQztTQUNwRjtRQUVELElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxDQUFDO0tBQ2xDOztBQXRFSCw4QkF1RUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBcm5Gb3JtYXQsIFJlc291cmNlLCBTdGFjaywgSVJlc291cmNlLCBMYXp5IH0gZnJvbSAnYXdzLWNkay1saWInO1xuaW1wb3J0IHsgQ29uc3RydWN0IH0gZnJvbSAnY29uc3RydWN0cyc7XG5pbXBvcnQgeyBJQWN0aW9uIH0gZnJvbSAnLi9hY3Rpb24nO1xuaW1wb3J0IHsgSW90U3FsIH0gZnJvbSAnLi9pb3Qtc3FsJztcbmltcG9ydCB7IENmblRvcGljUnVsZSB9IGZyb20gJ2F3cy1jZGstbGliL2F3cy1pb3QnO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgaW50ZXJmYWNlIElUb3BpY1J1bGUgZXh0ZW5kcyBJUmVzb3VyY2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHRvcGljUnVsZUFybjogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgdG9waWNSdWxlTmFtZTogc3RyaW5nO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGludGVyZmFjZSBUb3BpY1J1bGVQcm9wcyB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgdG9waWNSdWxlTmFtZT86IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBhY3Rpb25zPzogSUFjdGlvbltdO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZGVzY3JpcHRpb24/OiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZXJyb3JBY3Rpb24/OiBJQWN0aW9uO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IGVuYWJsZWQ/OiBib29sZWFuXG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHNxbDogSW90U3FsO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgVG9waWNSdWxlIGV4dGVuZHMgUmVzb3VyY2UgaW1wbGVtZW50cyBJVG9waWNSdWxlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHN0YXRpYyBmcm9tVG9waWNSdWxlQXJuKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHRvcGljUnVsZUFybjogc3RyaW5nKTogSVRvcGljUnVsZSB7XG4gICAgY29uc3QgcGFydHMgPSBTdGFjay5vZihzY29wZSkuc3BsaXRBcm4odG9waWNSdWxlQXJuLCBBcm5Gb3JtYXQuU0xBU0hfUkVTT1VSQ0VfTkFNRSk7XG4gICAgaWYgKCFwYXJ0cy5yZXNvdXJjZU5hbWUpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgTWlzc2luZyB0b3BpYyBydWxlIG5hbWUgaW4gQVJOOiAnJHt0b3BpY1J1bGVBcm59J2ApO1xuICAgIH1cbiAgICBjb25zdCByZXNvdXJjZU5hbWUgPSBwYXJ0cy5yZXNvdXJjZU5hbWU7XG5cbiAgICBjbGFzcyBJbXBvcnQgZXh0ZW5kcyBSZXNvdXJjZSBpbXBsZW1lbnRzIElUb3BpY1J1bGUge1xuICAgICAgcHVibGljIHJlYWRvbmx5IHRvcGljUnVsZUFybiA9IHRvcGljUnVsZUFybjtcbiAgICAgIHB1YmxpYyByZWFkb25seSB0b3BpY1J1bGVOYW1lID0gcmVzb3VyY2VOYW1lO1xuICAgIH1cbiAgICByZXR1cm4gbmV3IEltcG9ydChzY29wZSwgaWQsIHtcbiAgICAgIGVudmlyb25tZW50RnJvbUFybjogdG9waWNSdWxlQXJuLFxuICAgIH0pO1xuICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHJlYWRvbmx5IHRvcGljUnVsZUFybjogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgcmVhZG9ubHkgdG9waWNSdWxlTmFtZTogc3RyaW5nO1xuXG4gIHByaXZhdGUgcmVhZG9ubHkgYWN0aW9uczogQ2ZuVG9waWNSdWxlLkFjdGlvblByb3BlcnR5W10gPSBbXTtcblxuICBjb25zdHJ1Y3RvcihzY29wZTogQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogVG9waWNSdWxlUHJvcHMpIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHtcbiAgICAgIHBoeXNpY2FsTmFtZTogcHJvcHMudG9waWNSdWxlTmFtZSxcbiAgICB9KTtcblxuICAgIGNvbnN0IHNxbENvbmZpZyA9IHByb3BzLnNxbC5iaW5kKHRoaXMpO1xuXG4gICAgY29uc3QgcmVzb3VyY2UgPSBuZXcgQ2ZuVG9waWNSdWxlKHRoaXMsICdSZXNvdXJjZScsIHtcbiAgICAgIHJ1bGVOYW1lOiB0aGlzLnBoeXNpY2FsTmFtZSxcbiAgICAgIHRvcGljUnVsZVBheWxvYWQ6IHtcbiAgICAgICAgYWN0aW9uczogTGF6eS5hbnkoeyBwcm9kdWNlOiAoKSA9PiB0aGlzLmFjdGlvbnMgfSksXG4gICAgICAgIGF3c0lvdFNxbFZlcnNpb246IHNxbENvbmZpZy5hd3NJb3RTcWxWZXJzaW9uLFxuICAgICAgICBkZXNjcmlwdGlvbjogcHJvcHMuZGVzY3JpcHRpb24sXG4gICAgICAgIGVycm9yQWN0aW9uOiBwcm9wcy5lcnJvckFjdGlvbj8uYmluZCh0aGlzKS5jb25maWd1cmF0aW9uLFxuICAgICAgICBydWxlRGlzYWJsZWQ6IHByb3BzLmVuYWJsZWQgPT09IHVuZGVmaW5lZCA/IHVuZGVmaW5lZCA6ICFwcm9wcy5lbmFibGVkLFxuICAgICAgICBzcWw6IHNxbENvbmZpZy5zcWwsXG4gICAgICB9LFxuICAgIH0pO1xuXG4gICAgdGhpcy50b3BpY1J1bGVBcm4gPSB0aGlzLmdldFJlc291cmNlQXJuQXR0cmlidXRlKHJlc291cmNlLmF0dHJBcm4sIHtcbiAgICAgIHNlcnZpY2U6ICdpb3QnLFxuICAgICAgcmVzb3VyY2U6ICdydWxlJyxcbiAgICAgIHJlc291cmNlTmFtZTogdGhpcy5waHlzaWNhbE5hbWUsXG4gICAgfSk7XG4gICAgdGhpcy50b3BpY1J1bGVOYW1lID0gdGhpcy5nZXRSZXNvdXJjZU5hbWVBdHRyaWJ1dGUocmVzb3VyY2UucmVmKTtcblxuICAgIHByb3BzLmFjdGlvbnM/LmZvckVhY2goYWN0aW9uID0+IHtcbiAgICAgIHRoaXMuYWRkQWN0aW9uKGFjdGlvbik7XG4gICAgfSk7XG4gIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBhZGRBY3Rpb24oYWN0aW9uOiBJQWN0aW9uKTogdm9pZCB7XG4gICAgY29uc3QgeyBjb25maWd1cmF0aW9uIH0gPSBhY3Rpb24uYmluZCh0aGlzKTtcblxuICAgIGNvbnN0IGtleXMgPSBPYmplY3Qua2V5cyhjb25maWd1cmF0aW9uKTtcbiAgICBpZiAoa2V5cy5sZW5ndGggPT09IDApIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignQW4gYWN0aW9uIHByb3BlcnR5IGNhbm5vdCBiZSBhbiBlbXB0eSBvYmplY3QuJyk7XG4gICAgfVxuICAgIGlmIChrZXlzLmxlbmd0aCA+IDEpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgQW4gYWN0aW9uIHByb3BlcnR5IGNhbm5vdCBoYXZlIG11bHRpcGxlIGtleXMsIHJlY2VpdmVkOiAke2tleXN9YCk7XG4gICAgfVxuXG4gICAgdGhpcy5hY3Rpb25zLnB1c2goY29uZmlndXJhdGlvbik7XG4gIH1cbn1cbiJdfQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/aws-iot-alpha",
3
- "version": "2.1.0-alpha.0",
3
+ "version": "2.5.0-alpha.0",
4
4
  "private": false,
5
5
  "description": "The CDK Construct Library for AWS::IoT",
6
6
  "main": "lib/index.js",
@@ -74,19 +74,19 @@
74
74
  },
75
75
  "license": "Apache-2.0",
76
76
  "devDependencies": {
77
- "@aws-cdk/cdk-build-tools": "2.1.0",
78
- "@aws-cdk/cdk-integ-tools": "2.1.0",
79
- "@aws-cdk/cfn2ts": "2.1.0",
80
- "@aws-cdk/pkglint": "2.1.0",
77
+ "@aws-cdk/cdk-build-tools": "2.5.0",
78
+ "@aws-cdk/cdk-integ-tools": "2.5.0",
79
+ "@aws-cdk/cfn2ts": "2.5.0",
80
+ "@aws-cdk/pkglint": "2.5.0",
81
81
  "@types/jest": "^27.0.3",
82
- "jest": "^27.3.1",
83
- "aws-cdk-lib": "2.1.0",
82
+ "jest": "^27.4.5",
83
+ "aws-cdk-lib": "2.5.0",
84
84
  "constructs": "^10.0.0"
85
85
  },
86
86
  "dependencies": {},
87
87
  "homepage": "https://github.com/aws/aws-cdk",
88
88
  "peerDependencies": {
89
- "aws-cdk-lib": "^2.1.0",
89
+ "aws-cdk-lib": "^2.5.0",
90
90
  "constructs": "^10.0.0"
91
91
  },
92
92
  "engines": {