interface RepublishActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.RepublishActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_RepublishActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.RepublishActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.RepublishActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » RepublishActionProperty |
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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const republishActionProperty: iot_mixins.CfnTopicRulePropsMixin.RepublishActionProperty = {
headers: {
contentType: 'contentType',
correlationData: 'correlationData',
messageExpiry: 'messageExpiry',
payloadFormatIndicator: 'payloadFormatIndicator',
responseTopic: 'responseTopic',
userProperties: [{
key: 'key',
value: 'value',
}],
},
qos: 123,
roleArn: 'roleArn',
topic: 'topic',
};
Properties
| Name | Type | Description |
|---|---|---|
| headers? | IResolvable | Republish | MQTT Version 5.0 headers information. For more information, see MQTT in the IoT Core Developer Guide. |
| qos? | number | The Quality of Service (QoS) level to use when republishing messages. |
| role | string | The ARN of the IAM role that grants access. |
| topic? | string | The name of the MQTT topic. |
headers?
Type:
IResolvable | Republish
(optional)
MQTT Version 5.0 headers information. For more information, see MQTT in the IoT Core Developer Guide.
qos?
Type:
number
(optional)
The Quality of Service (QoS) level to use when republishing messages.
The default value is 0.
roleArn?
Type:
string
(optional)
The ARN of the IAM role that grants access.
topic?
Type:
string
(optional)
The name of the MQTT topic.

.NET
Go
Java
Python
TypeScript