@Stability(value=Stable)
public static interface CfnTopicRule.RepublishActionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.RepublishActionProperty.Builder
A builder for
CfnTopicRule.RepublishActionProperty |
static class |
CfnTopicRule.RepublishActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.RepublishActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.RepublishActionProperty.Builder |
builder() |
default Object |
getHeaders()
MQTT Version 5.0 headers information.
|
default Number |
getQos()
The Quality of Service (QoS) level to use when republishing messages.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
String |
getTopic()
The name of the MQTT topic.
|
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull String getTopic()
@Stability(value=Stable) @Nullable default Object getHeaders()
@Stability(value=Stable) @Nullable default Number getQos()
The default value is 0.
@Stability(value=Stable) static CfnTopicRule.RepublishActionProperty.Builder builder()
Copyright © 2023. All rights reserved.