Interface CfnCluster.SaslProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.SaslProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.SaslProperty
extends software.amazon.jsii.JsiiSerializable
Details for client authentication using SASL.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.SaslProperty
static final class
An implementation forCfnCluster.SaslProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIam
Details for ClientAuthentication using IAM.- See Also:
-
getScram
Details for SASL/SCRAM client authentication.- See Also:
-
builder
- Returns:
- a
CfnCluster.SaslProperty.Builder
ofCfnCluster.SaslProperty
-