AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes a rule.

Inheritance Hierarchy

System.Object
  Amazon.IoT.Model.TopicRule

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class TopicRule

The TopicRule type exposes the following members

Constructors

NameDescription
Public Method TopicRule()

Properties

NameTypeDescription
Public Property Actions System.Collections.Generic.List<Amazon.IoT.Model.Action>

Gets and sets the property Actions.

The actions associated with the rule.

Public Property AwsIotSqlVersion System.String

Gets and sets the property AwsIotSqlVersion.

The version of the SQL rules engine to use when evaluating the rule.

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

The date and time the rule was created.

Public Property Description System.String

Gets and sets the property Description.

The description of the rule.

Public Property RuleDisabled System.Boolean

Gets and sets the property RuleDisabled.

Specifies whether the rule is disabled.

Public Property RuleName System.String

Gets and sets the property RuleName.

The name of the rule.

Public Property Sql System.String

Gets and sets the property Sql.

The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms