Interface IotRepublishMqttActionProps
- All Superinterfaces:
CommonActionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IotRepublishMqttActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.995Z")
@Stability(Experimental)
public interface IotRepublishMqttActionProps
extends software.amazon.jsii.JsiiSerializable, CommonActionProps
(experimental) Configuration properties of an action to republish MQTT messages.
Example:
TopicRule.Builder.create(this, "TopicRule")
.sql(IotSql.fromStringAsVer20160323("SELECT topic(2) as device_id, timestamp() as timestamp, temperature FROM 'device/+/data'"))
.actions(List.of(
IotRepublishMqttAction.Builder.create("${topic()}/republish")
.qualityOfService(MqttQualityOfService.AT_LEAST_ONCE)
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forIotRepublishMqttActionPropsstatic final classAn implementation forIotRepublishMqttActionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default MqttQualityOfService(experimental) The Quality of Service (QoS) level to use when republishing messages.Methods inherited from interface software.amazon.awscdk.services.iot.actions.CommonActionProps
getRoleMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQualityOfService
(experimental) The Quality of Service (QoS) level to use when republishing messages.Default: MqttQualityOfService.ZERO_OR_MORE_TIMES
-
builder
-