Class IotRepublishMqttAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.IotRepublishMqttAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:19.323Z")
@Stability(Experimental)
public class IotRepublishMqttAction
extends software.amazon.jsii.JsiiObject
implements IAction
(experimental) The action to put the record from an MQTT message to republish another MQTT topic.
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 TypeClassDescriptionstatic final class
(experimental) A fluent builder forIotRepublishMqttAction
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.alpha.IAction
IAction.Jsii$Default, IAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionIotRepublishMqttAction
(String topic) IotRepublishMqttAction
(String topic, IotRepublishMqttActionProps props) protected
IotRepublishMqttAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
IotRepublishMqttAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
IotRepublishMqttAction
protected IotRepublishMqttAction(software.amazon.jsii.JsiiObjectRef objRef) -
IotRepublishMqttAction
protected IotRepublishMqttAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
IotRepublishMqttAction
@Stability(Experimental) public IotRepublishMqttAction(@NotNull String topic, @Nullable IotRepublishMqttActionProps props) - Parameters:
topic
- The MQTT topic to which to republish the message. This parameter is required.props
- Optional properties to not use default.
-
IotRepublishMqttAction
- Parameters:
topic
- The MQTT topic to which to republish the message. This parameter is required.
-