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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forIotRepublishMqttActionProps
static final class
An 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
getRole
Methods 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
-