Class ClientAuthentication

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.msk.ClientAuthentication
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.700Z") @Stability(Experimental) public class ClientAuthentication extends software.amazon.jsii.JsiiObject
(experimental) Configuration properties for client authentication.

Example:

 Vpc vpc;
 Cluster cluster = Cluster.Builder.create(this, "cluster")
         .clusterName("myCluster")
         .kafkaVersion(KafkaVersion.V2_8_1)
         .vpc(vpc)
         .encryptionInTransit(EncryptionInTransitConfig.builder()
                 .clientBroker(ClientBrokerEncryption.TLS)
                 .build())
         .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()
                 .scram(true)
                 .build()))
         .build();
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ClientAuthentication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ClientAuthentication(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) - properties for SASL authentication.
    (experimental) - properties for TLS authentication.
    (experimental) SASL authentication.
    (experimental) TLS authentication.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • ClientAuthentication

      protected ClientAuthentication(software.amazon.jsii.JsiiObjectRef objRef)
    • ClientAuthentication

      protected ClientAuthentication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • sasl

      @Stability(Experimental) @NotNull public static ClientAuthentication sasl(@NotNull SaslAuthProps props)
      (experimental) SASL authentication.

      Parameters:
      props - This parameter is required.
    • tls

      @Stability(Experimental) @NotNull public static ClientAuthentication tls(@NotNull TlsAuthProps props)
      (experimental) TLS authentication.

      Parameters:
      props - This parameter is required.
    • getSaslProps

      @Stability(Experimental) @Nullable public SaslAuthProps getSaslProps()
      (experimental) - properties for SASL authentication.
    • getTlsProps

      @Stability(Experimental) @Nullable public TlsAuthProps getTlsProps()
      (experimental) - properties for TLS authentication.