Interface CfnTopicRulePropsMixin.RepublishActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.RepublishActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
@Stability(Stable)
public static interface CfnTopicRulePropsMixin.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.cfnpropertymixins.services.iot.*;
RepublishActionProperty republishActionProperty = RepublishActionProperty.builder()
.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)
.roleArn("roleArn")
.topic("topic")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.RepublishActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.RepublishActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectMQTT Version 5.0 headers information.default NumbergetQos()The Quality of Service (QoS) level to use when republishing messages.default ObjectThe ARN of the IAM role that grants access.default StringgetTopic()The name of the MQTT topic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeaders
MQTT Version 5.0 headers information. For more information, see MQTT in the IoT Core Developer Guide.Returns union: either
IResolvableorCfnTopicRulePropsMixin.RepublishActionHeadersProperty- See Also:
-
getQos
The Quality of Service (QoS) level to use when republishing messages.The default value is 0.
- See Also:
-
getRoleArn
- See Also:
-
getTopic
The name of the MQTT topic.- See Also:
-
builder
-