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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTopicRule.RepublishActionProperty
static final class
An 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.- See Also:
-
getTopic
The name of the MQTT topic.- See Also:
-
getHeaders
MQTT Version 5.0 headers information. For more information, see MQTT in the IoT Core Developer Guide.- See Also:
-
getQos
The Quality of Service (QoS) level to use when republishing messages.The default value is 0.
- See Also:
-
builder
-