@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:11.379Z") @Stability(value=Experimental) public interface SaslAuthProps extends software.amazon.jsii.JsiiSerializable
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 and Type | Interface and Description |
|---|---|
static class |
SaslAuthProps.Builder
A builder for
SaslAuthProps |
static class |
SaslAuthProps.Jsii$Proxy
An implementation for
SaslAuthProps |
| Modifier and Type | Method and Description |
|---|---|
static SaslAuthProps.Builder |
builder() |
default Boolean |
getIam()
(experimental) Enable IAM access control.
|
default IKey |
getKey()
(experimental) KMS Key to encrypt SASL/SCRAM secrets.
|
default Boolean |
getScram()
(experimental) Enable SASL/SCRAM authentication.
|
@Stability(value=Experimental) @Nullable default Boolean getIam()
Default: false
@Stability(value=Experimental) @Nullable default IKey getKey()
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
@Stability(value=Experimental) @Nullable default Boolean getScram()
Default: false
@Stability(value=Experimental) static SaslAuthProps.Builder builder()
SaslAuthProps.Builder of SaslAuthPropsCopyright © 2022. All rights reserved.