interface KafkaActionHeaderProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnTopicRule.KafkaActionHeaderProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_KafkaActionHeaderProperty |
![]() | software.amazon.awscdk.services.iot.CfnTopicRule.KafkaActionHeaderProperty |
![]() | aws_cdk.aws_iot.CfnTopicRule.KafkaActionHeaderProperty |
![]() | aws-cdk-lib » aws_iot » CfnTopicRule » KafkaActionHeaderProperty |
Specifies a Kafka header using key-value pairs when you create a Rule’s Kafka Action.
You can use these headers to route data from IoT clients to downstream Kafka clusters without modifying your message payload.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const kafkaActionHeaderProperty: iot.CfnTopicRule.KafkaActionHeaderProperty = {
key: 'key',
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
key | string | The key of the Kafka header. |
value | string | The value of the Kafka header. |
key
Type:
string
The key of the Kafka header.
value
Type:
string
The value of the Kafka header.