Skip to content
v2.274.0

Experimental

@aws-cdk/aws-iot-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IotSqlConfig Struct ​

The type returned from the bind() method in IotSql.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot_alpha from '@aws-cdk/aws-iot-alpha';
const iotSqlConfig: iot_alpha.IotSqlConfig = {
  awsIotSqlVersion: 'awsIotSqlVersion',
  sql: 'sql',
};

Properties ​

awsIotSqlVersionstringaws_iot_sql_versionstrawsIotSqlVersionStringAwsIotSqlVersionstringAwsIotSqlVersion*stringrequired#
The version of the SQL rules engine to use when evaluating the rule.
sqlstringsqlstrsqlStringSqlstringSql*stringrequired#
The SQL statement used to query the topic.