RepublishActionProperty Struct
Describes an action to republish to another topic.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const republishActionProperty: iot.CfnTopicRule.RepublishActionProperty = {
roleArn: 'roleArn',
topic: 'topic',
// the properties below are optional
headers: {
contentType: 'contentType',
correlationData: 'correlationData',
messageExpiry: 'messageExpiry',
payloadFormatIndicator: 'payloadFormatIndicator',
responseTopic: 'responseTopic',
userProperties: [{
key: 'key',
value: 'value',
}],
},
qos: 123,
};
Properties
headersoptionalIResolvable | CfnTopicRule.RepublishActionHeadersPropertyheadersoptionaltyping.Union[IResolvable, RepublishActionHeadersProperty]headersoptionalIResolvableHeadersoptionalIResolvableHeadersoptionalinterface{}#MQTT Version 5.0 headers information. For more information, see [MQTT](https://docs.aws.amazon.com//iot/latest/developerguide/mqtt.html) in the IoT Core Developer Guide.
The Quality of Service (QoS) level to use when republishing messages.
The default value is 0.
The ARN of the IAM role that grants access.
The name of the MQTT topic.