Class: Aws::Kafka::Types::EncryptionInTransit

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kafka/lib/aws-sdk-kafka/types.rb

Overview

Note:

When making an API call, you may pass EncryptionInTransit data as a hash:

{
  client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
  in_cluster: false,
}

The settings for encrypting data in transit.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_brokerString

Indicates the encryption setting for data in transit between clients and brokers. You must set it to one of the following values.

TLS means that client-broker communication is enabled with TLS only.

TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.

PLAINTEXT means that client-broker communication is enabled in plaintext only.

The default value is TLS.

Returns:

  • (String)


1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-kafka/lib/aws-sdk-kafka/types.rb', line 1142

class EncryptionInTransit < Struct.new(
  :client_broker,
  :in_cluster)
  SENSITIVE = []
  include Aws::Structure
end

#in_clusterBoolean

When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.

The default value is true.

Returns:

  • (Boolean)


1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-kafka/lib/aws-sdk-kafka/types.rb', line 1142

class EncryptionInTransit < Struct.new(
  :client_broker,
  :in_cluster)
  SENSITIVE = []
  include Aws::Structure
end