Class ClientAuthentication

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.904Z") @Stability(Experimental) public class ClientAuthentication extends software.amazon.jsii.JsiiObject
(experimental) Configuration properties for client authentication.

Example:

 import software.amazon.awscdk.services.acmpca.*;
 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.tls(TlsAuthProps.builder()
                 .certificateAuthorities(List.of(CertificateAuthority.fromCertificateAuthorityArn(this, "CertificateAuthority", "arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111")))
                 .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.
    saslTls(SaslTlsAuthProps saslTlsProps)
    (experimental) SASL + TLS 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.
    • saslTls

      @Stability(Experimental) @NotNull public static ClientAuthentication saslTls(@NotNull SaslTlsAuthProps saslTlsProps)
      (experimental) SASL + TLS authentication.

      Parameters:
      saslTlsProps - 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.