Show / Hide Table of Contents

Class CfnTopicRule.KafkaActionProperty

Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.

Inheritance
System.Object
CfnTopicRule.KafkaActionProperty
Implements
CfnTopicRule.IKafkaActionProperty
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public class KafkaActionProperty : Object, CfnTopicRule.IKafkaActionProperty
Syntax (vb)
Public Class KafkaActionProperty
    Inherits Object
    Implements CfnTopicRule.IKafkaActionProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.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 kafkaActionProperty = new KafkaActionProperty {
    ClientProperties = new Dictionary<string, string> {
        { "clientPropertiesKey", "clientProperties" }
    },
    DestinationArn = "destinationArn",
    Topic = "topic",

    // the properties below are optional
    Key = "key",
    Partition = "partition"
};

Synopsis

Constructors

KafkaActionProperty()

Properties

ClientProperties

Properties of the Apache Kafka producer client.

DestinationArn

The ARN of Kafka action's VPC TopicRuleDestination .

Key

The Kafka message key.

Partition

The Kafka message partition.

Topic

The Kafka topic for messages to be sent to the Kafka broker.

Constructors

KafkaActionProperty()

public KafkaActionProperty()

Properties

ClientProperties

Properties of the Apache Kafka producer client.

public object ClientProperties { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-clientproperties

DestinationArn

The ARN of Kafka action's VPC TopicRuleDestination .

public string DestinationArn { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-destinationarn

Key

The Kafka message key.

public string Key { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-key

Partition

The Kafka message partition.

public string Partition { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-partition

Topic

The Kafka topic for messages to be sent to the Kafka broker.

public string Topic { get; set; }
Property Value

System.String

Remarks

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

Implements

CfnTopicRule.IKafkaActionProperty
Back to top Generated by DocFX