Interface CfnTopicRule.RepublishActionHeadersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRule.RepublishActionHeadersProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRule
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.*;
RepublishActionHeadersProperty republishActionHeadersProperty = RepublishActionHeadersProperty.builder()
.contentType("contentType")
.correlationData("correlationData")
.messageExpiry("messageExpiry")
.payloadFormatIndicator("payloadFormatIndicator")
.responseTopic("responseTopic")
.userProperties(List.of(UserPropertyProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRule.RepublishActionHeadersPropertystatic final classAn implementation forCfnTopicRule.RepublishActionHeadersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA UTF-8 encoded string that describes the content of the publishing message.default StringThe base64-encoded binary data used by the sender of the request message to identify which request the response message is for.default StringA user-defined integer value that represents the message expiry interval at the broker.default StringAnEnumstring value that indicates whether the payload is formatted as UTF-8.default StringA UTF-8 encoded string that's used as the topic name for a response message.default ObjectAn array of key-value pairs that you define in the MQTT5 header.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContentType
A UTF-8 encoded string that describes the content of the publishing message.For more information, see Content Type in the MQTT Version 5.0 specification.
Supports substitution templates .
- See Also:
-
getCorrelationData
The base64-encoded binary data used by the sender of the request message to identify which request the response message is for.For more information, see Correlation Data in the MQTT Version 5.0 specification.
Supports substitution templates .
This binary data must be base64-encoded.
- See Also:
-
getMessageExpiry
A user-defined integer value that represents the message expiry interval at the broker.If the messages haven't been sent to the subscribers within that interval, the message expires and is removed. The value of
messageExpiryrepresents the number of seconds before it expires. For more information about the limits ofmessageExpiry, see Message broker and protocol limits and quotas in the IoT Core Reference Guide.Supports substitution templates .
- See Also:
-
getPayloadFormatIndicator
AnEnumstring value that indicates whether the payload is formatted as UTF-8.Valid values are
UNSPECIFIED_BYTESandUTF8_DATA.For more information, see Payload Format Indicator from the MQTT Version 5.0 specification.
Supports substitution templates .
- See Also:
-
getResponseTopic
A UTF-8 encoded string that's used as the topic name for a response message.The response topic is used to describe the topic to which the receiver should publish as part of the request-response flow. The topic must not contain wildcard characters.
For more information, see Response Topic in the MQTT Version 5.0 specification.
Supports substitution templates .
- See Also:
-
getUserProperties
An array of key-value pairs that you define in the MQTT5 header.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicRule.UserPropertyProperty>- See Also:
-
builder
-