Interface CfnTopicRule.IKafkaActionHeaderProperty
Specifies a Kafka header using key-value pairs when you create a Rule’s Kafka Action.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IKafkaActionHeaderProperty
Syntax (vb)
Public Interface IKafkaActionHeaderProperty
Remarks
You can use these headers to route data from IoT clients to downstream Kafka clusters without modifying your message payload.
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 kafkaActionHeaderProperty = new KafkaActionHeaderProperty {
Key = "key",
Value = "value"
};
Synopsis
Properties
Key | The key of the Kafka header. |
Value | The value of the Kafka header. |
Properties
Key
The key of the Kafka header.
string Key { get; }
Property Value
System.
Remarks
Value
The value of the Kafka header.
string Value { get; }
Property Value
System.