Interface CfnCluster.EncryptionInTransitProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCluster.EncryptionInTransitProperty.Jsii$Proxy
Enclosing class:
CfnCluster

@Stability(Stable) public static interface CfnCluster.EncryptionInTransitProperty extends software.amazon.jsii.JsiiSerializable
The settings for encrypting data in transit.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.msk.*;
 EncryptionInTransitProperty encryptionInTransitProperty = EncryptionInTransitProperty.builder()
         .clientBroker("clientBroker")
         .inCluster(false)
         .build();
 
  • Method Details

    • getClientBroker

      @Stability(Stable) @Nullable default String getClientBroker()
      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 .

    • getInCluster

      @Stability(Stable) @Nullable default Object getInCluster()
      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.

    • builder

      @Stability(Stable) static CfnCluster.EncryptionInTransitProperty.Builder builder()
      Returns:
      a CfnCluster.EncryptionInTransitProperty.Builder of CfnCluster.EncryptionInTransitProperty