Interface SaslAuthProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
SaslTlsAuthProps
- All Known Implementing Classes:
SaslAuthProps.Jsii$Proxy,SaslTlsAuthProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:18.538Z")
@Stability(Experimental)
public interface SaslAuthProps
extends software.amazon.jsii.JsiiSerializable
(experimental) SASL authentication properties.
Example:
Vpc vpc;
Cluster cluster = Cluster.Builder.create(this, "cluster")
.clusterName("myCluster")
.kafkaVersion(KafkaVersion.V4_1_X_KRAFT)
.vpc(vpc)
.encryptionInTransit(EncryptionInTransitConfig.builder()
.clientBroker(ClientBrokerEncryption.TLS)
.build())
.clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()
.scram(true)
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSaslAuthPropsstatic final classAn implementation forSaslAuthProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIam
(experimental) Enable IAM access control.Default: false
-
getKey
(experimental) KMS Key to encrypt SASL/SCRAM secrets.You must use a customer master key (CMK) when creating users in secrets manager. You cannot use a Secret with Amazon MSK that uses the default Secrets Manager encryption key.
Default: - CMK will be created with alias msk/{clusterName}/sasl/scram
-
getScram
(experimental) Enable SASL/SCRAM authentication.Default: false
-
builder
- Returns:
- a
SaslAuthProps.BuilderofSaslAuthProps
-