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
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 |
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
DestinationArn
The ARN of Kafka action's VPC TopicRuleDestination
.
string DestinationArn { get; }
Property Value
System.String
Remarks
Key
The Kafka message key.
virtual string Key { get; }
Property Value
System.String
Remarks
Partition
The Kafka message partition.
virtual string Partition { get; }
Property Value
System.String
Remarks
Topic
The Kafka topic for messages to be sent to the Kafka broker.
string Topic { get; }
Property Value
System.String