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: