@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:35.165Z") @Stability(value=Experimental) 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.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ClientAuthentication(software.amazon.jsii.JsiiObjectRef objRef)
protected ClientAuthentication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static ClientAuthentication sasl(@NotNull SaslAuthProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull public static ClientAuthentication tls(@NotNull TlsAuthProps props)
props - This parameter is required.@Stability(value=Experimental) @Nullable public SaslAuthProps getSaslProps()
@Stability(value=Experimental) @Nullable public TlsAuthProps getTlsProps()
Copyright © 2022. All rights reserved.