You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Kafka::Types::EncryptionInTransit
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kafka::Types::EncryptionInTransit
- Defined in:
- (unknown)
Overview
When passing EncryptionInTransit as input to an Aws::Client method, you can use a vanilla Hash:
{
client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
in_cluster: false,
}
The settings for encrypting data in transit.
Returned by:
Instance Attribute Summary collapse
-
#client_broker ⇒ String
Indicates the encryption setting for data in transit between clients and brokers.
-
#in_cluster ⇒ Boolean
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
Instance Attribute Details
#client_broker ⇒ String
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.
Possible values:
- TLS
- TLS_PLAINTEXT
- PLAINTEXT
#in_cluster ⇒ Boolean
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.