TopicRulePayloadProperty Struct
Describes a rule.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
python
java
csharp
// Install: dotnet add package Amazon.CDK.Lib
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
Properties
actionsIResolvable | IResolvable | CfnTopicRule.ActionProperty[]actionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ActionProperty]]]actionsIResolvableActionsIResolvableActionsinterface{} required #The actions associated with the rule.
awsIotSqlVersionoptionalstringaws_iot_sql_versionoptionalstrawsIotSqlVersionoptionalStringAwsIotSqlVersionoptionalstringAwsIotSqlVersionoptional*string #The version of the SQL rules engine to use when evaluating the rule.
The default value is 2015-10-08.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the rule.
errorActionoptionalIResolvable | CfnTopicRule.ActionPropertyerror_actionoptionaltyping.Union[IResolvable, ActionProperty]errorActionoptionalIResolvableErrorActionoptionalIResolvableErrorActionoptionalinterface{} #The action to take when an error occurs.
ruleDisabledoptionalboolean | IResolvablerule_disabledoptionaltyping.Union[bool, IResolvable]ruleDisabledoptionalBooleanRuleDisabledoptionalboolRuleDisabledoptionalinterface{} #Specifies whether the rule is disabled.
The SQL statement used to query the topic.
For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide .