Interface CfnCluster.ClientAuthenticationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClientAuthenticationProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ClientAuthenticationProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
ClientAuthenticationProperty clientAuthenticationProperty = ClientAuthenticationProperty.builder()
.sasl(SaslProperty.builder()
.iam(IamProperty.builder()
.enabled(false)
.build())
.scram(ScramProperty.builder()
.enabled(false)
.build())
.build())
.tls(TlsProperty.builder()
.certificateAuthorityArnList(List.of("certificateAuthorityArnList"))
.enabled(false)
.build())
.unauthenticated(UnauthenticatedProperty.builder()
.enabled(false)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ClientAuthenticationPropertystatic final classAn implementation forCfnCluster.ClientAuthenticationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSasl
Details for client authentication using SASL.To turn on SASL, you must also turn on
EncryptionInTransitby settinginClusterto true. You must setclientBrokerto eitherTLSorTLS_PLAINTEXT. If you chooseTLS_PLAINTEXT, then you must also setunauthenticatedto true.Returns union: either
IResolvableorCfnCluster.SaslProperty- See Also:
-
getTls
Details for ClientAuthentication using TLS.To turn on TLS access control, you must also turn on
EncryptionInTransitby settinginClusterto true andclientBrokertoTLS.Returns union: either
IResolvableorCfnCluster.TlsProperty- See Also:
-
getUnauthenticated
Details for ClientAuthentication using no authentication.Returns union: either
IResolvableorCfnCluster.UnauthenticatedProperty- See Also:
-
builder
-