@Stability(value=Stable)
public static interface CfnCluster.SaslProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getIam()
Details for ClientAuthentication using IAM.
|
default Object |
getScram()
Details for SASL/SCRAM client authentication.
|
@Stability(value=Stable) @Nullable default Object getIam()
@Stability(value=Stable) @Nullable default Object getScram()
@Stability(value=Stable) static CfnCluster.SaslProperty.Builder builder()
CfnCluster.SaslProperty.Builder
of CfnCluster.SaslProperty
Copyright © 2023. All rights reserved.