Interface CfnReplicator.KafkaClusterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicator.KafkaClusterProperty.Jsii$Proxy
- Enclosing class:
CfnReplicator
@Stability(Stable)
public static interface CfnReplicator.KafkaClusterProperty
extends software.amazon.jsii.JsiiSerializable
Information about Kafka Cluster to be used as source / target for replication.
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.*;
KafkaClusterProperty kafkaClusterProperty = KafkaClusterProperty.builder()
.amazonMskCluster(AmazonMskClusterProperty.builder()
.mskClusterArn("mskClusterArn")
.build())
.apacheKafkaCluster(ApacheKafkaClusterProperty.builder()
.apacheKafkaClusterId("apacheKafkaClusterId")
.bootstrapBrokerString("bootstrapBrokerString")
.build())
.clientAuthentication(KafkaClusterClientAuthenticationProperty.builder()
.saslScram(KafkaClusterSaslScramAuthenticationProperty.builder()
.mechanism("mechanism")
.secretArn("secretArn")
.build())
.build())
.encryptionInTransit(KafkaClusterEncryptionInTransitProperty.builder()
.encryptionType("encryptionType")
// the properties below are optional
.rootCaCertificate("rootCaCertificate")
.build())
.vpcConfig(KafkaClusterClientVpcConfigProperty.builder()
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.securityGroupIds(List.of("securityGroupIds"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReplicator.KafkaClusterPropertystatic final classAn implementation forCfnReplicator.KafkaClusterProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDetails of an Amazon MSK Cluster.default ObjectDetails of an Apache Kafka cluster.default ObjectDetails of the client authentication used by the Apache Kafka cluster.default ObjectDetails of encryption in transit to the Apache Kafka cluster.default ObjectDetails of an Amazon VPC which has network connectivity to the Apache Kafka cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmazonMskCluster
Details of an Amazon MSK Cluster.Returns union: either
IResolvableorCfnReplicator.AmazonMskClusterProperty- See Also:
-
getApacheKafkaCluster
Details of an Apache Kafka cluster.Returns union: either
IResolvableorCfnReplicator.ApacheKafkaClusterProperty- See Also:
-
getClientAuthentication
Details of the client authentication used by the Apache Kafka cluster.Returns union: either
IResolvableorCfnReplicator.KafkaClusterClientAuthenticationProperty- See Also:
-
getEncryptionInTransit
Details of encryption in transit to the Apache Kafka cluster.Returns union: either
IResolvableorCfnReplicator.KafkaClusterEncryptionInTransitProperty- See Also:
-
getVpcConfig
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.Returns union: either
IResolvableorCfnReplicator.KafkaClusterClientVpcConfigProperty- See Also:
-
builder
-