AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.IoT.Model.KafkaAction

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class KafkaAction

The KafkaAction type exposes the following members

Constructors

NameDescription
Public Method KafkaAction()

Properties

NameTypeDescription
Public Property ClientProperties System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property ClientProperties.

Properties of the Apache Kafka producer client.

Public Property DestinationArn System.String

Gets and sets the property DestinationArn.

The ARN of Kafka action's VPC TopicRuleDestination.

Public Property Headers System.Collections.Generic.List<Amazon.IoT.Model.KafkaActionHeader>

Gets and sets the property Headers.

The list of Kafka headers that you specify.

Public Property Key System.String

Gets and sets the property Key.

The Kafka message key.

Public Property Partition System.String

Gets and sets the property Partition.

The Kafka message partition.

Public Property Topic System.String

Gets and sets the property Topic.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5