Interface CfnReplicator.KafkaClusterClientAuthenticationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicator.KafkaClusterClientAuthenticationProperty.Jsii$Proxy
- Enclosing class:
CfnReplicator
@Stability(Stable)
public static interface CfnReplicator.KafkaClusterClientAuthenticationProperty
extends software.amazon.jsii.JsiiSerializable
Details of the client authentication used by the Apache Kafka cluster.
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.*;
KafkaClusterClientAuthenticationProperty kafkaClusterClientAuthenticationProperty = KafkaClusterClientAuthenticationProperty.builder()
.mtls(KafkaClusterMtlsAuthenticationProperty.builder()
.secretArn("secretArn")
.build())
.saslOAuthBearer(KafkaClusterSaslOAuthBearerAuthenticationProperty.builder()
.tokenEndpointAuthenticationMethod("tokenEndpointAuthenticationMethod")
.tokenEndpointUrl("tokenEndpointUrl")
// the properties below are optional
.clientCredentials(KafkaClusterOAuthClientCredentialsProperty.builder()
.tokenRequestSecretArn("tokenRequestSecretArn")
.build())
.clientCredentialsAssertion(KafkaClusterOAuthClientCredentialsAssertionProperty.builder()
.audience("audience")
.signingAlgorithm("signingAlgorithm")
// the properties below are optional
.tokenRequestSecretArn("tokenRequestSecretArn")
.build())
.iamJwtBearer(KafkaClusterOAuthIamJwtBearerProperty.builder()
.audience("audience")
.signingAlgorithm("signingAlgorithm")
// the properties below are optional
.tokenRequestSecretArn("tokenRequestSecretArn")
.build())
.scope("scope")
.tokenEndpointTlsCertificateArn("tokenEndpointTlsCertificateArn")
.build())
.saslScram(KafkaClusterSaslScramAuthenticationProperty.builder()
.mechanism("mechanism")
.secretArn("secretArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReplicator.KafkaClusterClientAuthenticationPropertystatic final classAn implementation forCfnReplicator.KafkaClusterClientAuthenticationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMtls
Details for mTLS client authentication.Returns union: either
IResolvableorCfnReplicator.KafkaClusterMtlsAuthenticationProperty- See Also:
-
getSaslOAuthBearer
Details for client authentication using SASL/OAUTHBEARER.Returns union: either
IResolvableorCfnReplicator.KafkaClusterSaslOAuthBearerAuthenticationProperty- See Also:
-
getSaslScram
Details for SASL/SCRAM client authentication.Returns union: either
IResolvableorCfnReplicator.KafkaClusterSaslScramAuthenticationProperty- See Also:
-
builder
-