Class: Aws::IoT::Types::KafkaActionHeader

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

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.

For more information about Rule’s Kafka action, see [Apache Kafka].

[1]: docs.aws.amazon.com/iot/latest/developerguide/apache-kafka-rule-action.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the Kafka header.

Returns:

  • (String)


8922
8923
8924
8925
8926
8927
# File 'lib/aws-sdk-iot/types.rb', line 8922

class KafkaActionHeader < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of the Kafka header.

Returns:

  • (String)


8922
8923
8924
8925
8926
8927
# File 'lib/aws-sdk-iot/types.rb', line 8922

class KafkaActionHeader < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end