Interface CfnTopicRule.RepublishActionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnTopicRule.RepublishActionProperty extends
Describes an action to republish to another topic.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RepublishActionProperty republishActionProperty = RepublishActionProperty.builder()
         // the properties below are optional
  • Method Details

    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The ARN of the IAM role that grants access.
    • getTopic

      @Stability(Stable) @NotNull String getTopic()
      The name of the MQTT topic.
    • getHeaders

      @Stability(Stable) @Nullable default Object getHeaders()
      MQTT Version 5.0 headers information. For more information, see [MQTT]( in the IoT Core Developer Guide.
    • getQos

      @Stability(Stable) @Nullable default Number getQos()
      The Quality of Service (QoS) level to use when republishing messages.

      The default value is 0.

    • builder

      @Stability(Stable) static CfnTopicRule.RepublishActionProperty.Builder builder()
      a CfnTopicRule.RepublishActionProperty.Builder of CfnTopicRule.RepublishActionProperty