Skip to content
v2.278.0

IoTRuleEventProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const ioTRuleEventProperty: sam.CfnFunction.IoTRuleEventProperty = {
  sql: 'sql',

  // the properties below are optional
  awsIotSqlVersion: 'awsIotSqlVersion',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sam as sam

io_t_rule_event_property = sam.CfnFunction.IoTRuleEventProperty(
    sql="sql",

    # the properties below are optional
    aws_iot_sql_version="awsIotSqlVersion"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;

IoTRuleEventProperty ioTRuleEventProperty = IoTRuleEventProperty.builder()
        .sql("sql")

        // the properties below are optional
        .awsIotSqlVersion("awsIotSqlVersion")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;

var ioTRuleEventProperty = new IoTRuleEventProperty {
    Sql = "sql",

    // the properties below are optional
    AwsIotSqlVersion = "awsIotSqlVersion"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

ioTRuleEventProperty := &IoTRuleEventProperty{
	Sql: jsii.String("sql"),

	// the properties below are optional
	AwsIotSqlVersion: jsii.String("awsIotSqlVersion"),
}

Properties ​

awsIotSqlVersionoptionalstringaws_iot_sql_versionoptionalstrawsIotSqlVersionoptionalStringAwsIotSqlVersionoptionalstringAwsIotSqlVersionoptional*string #
sqlstringsqlstrsqlStringSqlstringSql*string required #