@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-27T16:28:02.455Z")
public class ClientAuthentication
extends software.amazon.jsii.JsiiObject
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();
Modifier | Constructor and Description |
---|---|
protected |
ClientAuthentication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ClientAuthentication(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
SaslAuthProps |
getSaslProps()
(experimental) - properties for SASL authentication.
|
TlsAuthProps |
getTlsProps()
(experimental) - properties for TLS authentication.
|
static ClientAuthentication |
sasl(SaslAuthProps props)
(experimental) SASL authentication.
|
static ClientAuthentication |
tls(TlsAuthProps props)
(experimental) TLS authentication.
|
protected ClientAuthentication(software.amazon.jsii.JsiiObjectRef objRef)
protected ClientAuthentication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public static ClientAuthentication sasl(SaslAuthProps props)
props
- This parameter is required.public static ClientAuthentication tls(TlsAuthProps props)
props
- This parameter is required.public SaslAuthProps getSaslProps()
public TlsAuthProps getTlsProps()