Interface CfnTopicRule.RepublishActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRule.RepublishActionProperty.Jsii$Proxy
- Enclosing class:
- CfnTopicRule
@Stability(Stable)
public static interface CfnTopicRule.RepublishActionProperty
extends software.amazon.jsii.JsiiSerializable
Describes an action to republish to another topic.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
RepublishActionProperty republishActionProperty = RepublishActionProperty.builder()
.roleArn("roleArn")
.topic("topic")
// the properties below are optional
.headers(RepublishActionHeadersProperty.builder()
.contentType("contentType")
.correlationData("correlationData")
.messageExpiry("messageExpiry")
.payloadFormatIndicator("payloadFormatIndicator")
.responseTopic("responseTopic")
.userProperties(List.of(UserPropertyProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.qos(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRule.RepublishActionPropertystatic final classAn implementation forCfnTopicRule.RepublishActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRoleArn
The ARN of the IAM role that grants access. -
getTopic
The name of the MQTT topic. -
getHeaders
MQTT Version 5.0 headers information. For more information, see MQTT in the IoT Core Developer Guide. -
getQos
The Quality of Service (QoS) level to use when republishing messages.The default value is 0.
-
builder
-