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.104.0 (build e79254c)",
date="2024-10-31T19:13:08.089Z")
@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.V2_8_1) .vpc(vpc) .encryptionInTransit(EncryptionInTransitConfig.builder() .clientBroker(ClientBrokerEncryption.TLS) .build()) .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder() .scram(true) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSaslAuthProps
static final class
An 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.Builder
ofSaslAuthProps
-