libZSservicesZSamazonka-kafkaZSamazonka-kafka
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Kafka.Types.EncryptionInTransit

Description

 
Synopsis

Documentation

data EncryptionInTransit Source #

The settings for encrypting data in transit.

See: newEncryptionInTransit smart constructor.

Constructors

EncryptionInTransit' 

Fields

  • clientBroker :: Maybe ClientBroker

    Indicates the encryption setting for data in transit between clients and brokers. The following are the possible 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_PLAINTEXT.

  • inCluster :: Maybe Bool

    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.

Instances

Instances details
Eq EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

Read EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

Show EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

Generic EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

Associated Types

type Rep EncryptionInTransit :: Type -> Type #

NFData EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

Methods

rnf :: EncryptionInTransit -> () #

Hashable EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

ToJSON EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

FromJSON EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

type Rep EncryptionInTransit Source # 
Instance details

Defined in Amazonka.Kafka.Types.EncryptionInTransit

type Rep EncryptionInTransit = D1 ('MetaData "EncryptionInTransit" "Amazonka.Kafka.Types.EncryptionInTransit" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "EncryptionInTransit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientBroker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientBroker)) :*: S1 ('MetaSel ('Just "inCluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newEncryptionInTransit :: EncryptionInTransit Source #

Create a value of EncryptionInTransit with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientBroker:EncryptionInTransit', encryptionInTransit_clientBroker - Indicates the encryption setting for data in transit between clients and brokers. The following are the possible 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_PLAINTEXT.

$sel:inCluster:EncryptionInTransit', encryptionInTransit_inCluster - 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.

encryptionInTransit_clientBroker :: Lens' EncryptionInTransit (Maybe ClientBroker) Source #

Indicates the encryption setting for data in transit between clients and brokers. The following are the possible 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_PLAINTEXT.

encryptionInTransit_inCluster :: Lens' EncryptionInTransit (Maybe Bool) Source #

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.