Show / Hide Table of Contents

Class CfnTopicRule.RepublishActionProperty

Describes an action to republish to another topic.

Inheritance
object
CfnTopicRule.RepublishActionProperty
Implements
CfnTopicRule.IRepublishActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTopicRule.RepublishActionProperty : CfnTopicRule.IRepublishActionProperty
Syntax (vb)
Public Class CfnTopicRule.RepublishActionProperty Implements CfnTopicRule.IRepublishActionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html

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()

Describes an action to republish to another topic.

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()

Describes an action to republish to another topic.

public RepublishActionProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html

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
             };

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-headers

Qos

The Quality of Service (QoS) level to use when republishing messages.

public double? Qos { get; set; }
Property Value

double?

Remarks

The default value is 0.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-qos

RoleArn

The ARN of the IAM role that grants access.

public string RoleArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-rolearn

Topic

The name of the MQTT topic.

public string Topic { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-topic

Implements

CfnTopicRule.IRepublishActionProperty
Back to top Generated by DocFX