Show / Hide Table of Contents

Interface CfnTopicRule.IKafkaActionProperty

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

Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public interface IKafkaActionProperty
Syntax (vb)
Public Interface 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

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.

Properties

ClientProperties

Properties of the Apache Kafka producer client.

object ClientProperties { get; }
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 .

string DestinationArn { get; }
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.

virtual string Key { get; }
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.

virtual string Partition { get; }
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.

string Topic { get; }
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

Back to top Generated by DocFX