public static interface CfnCluster.SaslProperty
To turn on SASL, you must also turn on EncryptionInTransit
by setting inCluster
to true. You must set clientBroker
to either TLS
or TLS_PLAINTEXT
. If you choose TLS_PLAINTEXT
, then you must also set unauthenticated
to true.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.msk.*; SaslProperty saslProperty = SaslProperty.builder() .iam(IamProperty.builder() .enabled(false) .build()) .scram(ScramProperty.builder() .enabled(false) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnCluster.SaslProperty.Builder
A builder for
CfnCluster.SaslProperty |
static class |
CfnCluster.SaslProperty.Jsii$Proxy
An implementation for
CfnCluster.SaslProperty |
Modifier and Type | Method and Description |
---|---|
static CfnCluster.SaslProperty.Builder |
builder() |
default java.lang.Object |
getIam()
Details for IAM access control.
|
default java.lang.Object |
getScram()
Details for SASL/SCRAM client authentication.
|
default java.lang.Object getIam()
default java.lang.Object getScram()
static CfnCluster.SaslProperty.Builder builder()
CfnCluster.SaslProperty.Builder
of CfnCluster.SaslProperty