Class CfnTopicRule.RepublishActionProperty
Describes an action to republish to another topic.
Inheritance
System.Object
CfnTopicRule.RepublishActionProperty
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RepublishActionProperty : Object, CfnTopicRule.IRepublishActionProperty
Syntax (vb)
Public Class RepublishActionProperty
Inherits Object
Implements CfnTopicRule.IRepublishActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var republishActionProperty = new RepublishActionProperty {
RoleArn = "roleArn",
Topic = "topic",
// the properties below are optional
Headers = new RepublishActionHeadersProperty {
ContentType = "contentType",
CorrelationData = "correlationData",
MessageExpiry = "messageExpiry",
PayloadFormatIndicator = "payloadFormatIndicator",
ResponseTopic = "responseTopic",
UserProperties = new [] { new UserPropertyProperty {
Key = "key",
Value = "value"
} }
},
Qos = 123
};
Synopsis
Constructors
RepublishActionProperty() |
Properties
Headers | MQTT Version 5.0 headers information. For more information, see MQTT in the IoT Core Developer Guide. |
Qos | The Quality of Service (QoS) level to use when republishing messages. |
RoleArn | The ARN of the IAM role that grants access. |
Topic | The name of the MQTT topic. |
Constructors
RepublishActionProperty()
public RepublishActionProperty()
Properties
Headers
MQTT Version 5.0 headers information. For more information, see MQTT in the IoT Core Developer Guide.
public object Headers { get; set; }
Property Value
System.Object
Remarks
Qos
The Quality of Service (QoS) level to use when republishing messages.
public Nullable<double> Qos { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RoleArn
The ARN of the IAM role that grants access.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
Topic
The name of the MQTT topic.
public string Topic { get; set; }
Property Value
System.String