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())
.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()Details of an Amazon MSK Cluster.Details 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:
-
getVpcConfig
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.Returns union: either
IResolvableorCfnReplicator.KafkaClusterClientVpcConfigProperty- See Also:
-
builder
-