Interface CfnReplicatorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:10.536Z")
@Stability(Stable)
public interface CfnReplicatorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnReplicator.
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.*;
CfnReplicatorProps cfnReplicatorProps = CfnReplicatorProps.builder()
.kafkaClusters(List.of(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()))
.replicationInfoList(List.of(ReplicationInfoProperty.builder()
.consumerGroupReplication(ConsumerGroupReplicationProperty.builder()
.consumerGroupsToReplicate(List.of("consumerGroupsToReplicate"))
// the properties below are optional
.consumerGroupsToExclude(List.of("consumerGroupsToExclude"))
.detectAndCopyNewConsumerGroups(false)
.synchroniseConsumerGroupOffsets(false)
.build())
.sourceKafkaClusterArn("sourceKafkaClusterArn")
.targetCompressionType("targetCompressionType")
.targetKafkaClusterArn("targetKafkaClusterArn")
.topicReplication(TopicReplicationProperty.builder()
.topicsToReplicate(List.of("topicsToReplicate"))
// the properties below are optional
.copyAccessControlListsForTopics(false)
.copyTopicConfigurations(false)
.detectAndCopyNewTopics(false)
.topicsToExclude(List.of("topicsToExclude"))
.build())
.build()))
.replicatorName("replicatorName")
.serviceExecutionRoleArn("serviceExecutionRoleArn")
// the properties below are optional
.currentVersion("currentVersion")
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReplicatorPropsstatic final classAn implementation forCfnReplicatorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnReplicatorProps.Builderbuilder()default StringThe current version of the MSK replicator.default StringA summary description of the replicator.Specifies a list of Kafka clusters which are targets of the replicator.A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.The name of the replicator.The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.getTags()A collection of tags associated with a resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKafkaClusters
Specifies a list of Kafka clusters which are targets of the replicator.- See Also:
-
getReplicationInfoList
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.- See Also:
-
getReplicatorName
The name of the replicator.- See Also:
-
getServiceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.- See Also:
-
getCurrentVersion
The current version of the MSK replicator.- See Also:
-
getDescription
A summary description of the replicator.- See Also:
-
getTags
A collection of tags associated with a resource.- See Also:
-
builder
- Returns:
- a
CfnReplicatorProps.BuilderofCfnReplicatorProps
-