| Modifier and Type | Method and Description |
|---|---|
TopicRule.Builder |
actions(List<? extends IAction> actions)
(experimental) The actions associated with the topic rule.
|
TopicRule |
build() |
static TopicRule.Builder |
create(software.constructs.Construct scope,
String id) |
TopicRule.Builder |
description(String description)
(experimental) A textual description of the topic rule.
|
TopicRule.Builder |
enabled(Boolean enabled)
(experimental) Specifies whether the rule is enabled.
|
TopicRule.Builder |
errorAction(IAction errorAction)
(experimental) The action AWS IoT performs when it is unable to perform a rule's action.
|
TopicRule.Builder |
sql(IotSql sql)
(experimental) A simplified SQL syntax to filter messages received on an MQTT topic and push the data elsewhere.
|
TopicRule.Builder |
topicRuleName(String topicRuleName)
(experimental) The name of the topic rule.
|
@Stability(value=Experimental) public static TopicRule.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.TopicRule.Builder.@Stability(value=Experimental) public TopicRule.Builder sql(IotSql sql)
sql - A simplified SQL syntax to filter messages received on an MQTT topic and push the data elsewhere. This parameter is required.thishttps://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html@Stability(value=Experimental) public TopicRule.Builder actions(List<? extends IAction> actions)
Default: No actions will be perform
actions - The actions associated with the topic rule. This parameter is required.this@Stability(value=Experimental) public TopicRule.Builder description(String description)
Default: None
description - A textual description of the topic rule. This parameter is required.this@Stability(value=Experimental) public TopicRule.Builder enabled(Boolean enabled)
Default: true
enabled - Specifies whether the rule is enabled. This parameter is required.this@Stability(value=Experimental) public TopicRule.Builder errorAction(IAction errorAction)
Default: - no action will be performed
errorAction - The action AWS IoT performs when it is unable to perform a rule's action. This parameter is required.this@Stability(value=Experimental) public TopicRule.Builder topicRuleName(String topicRuleName)
Default: None
topicRuleName - The name of the topic rule. This parameter is required.thisCopyright © 2022. All rights reserved.