Interface CfnReplicatorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:22.171Z")
@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) .startingPosition(ReplicationStartingPositionProperty.builder() .type("type") .build()) .topicNameConfiguration(ReplicationTopicNameConfigurationProperty.builder() .type("type") .build()) .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnReplicatorProps
static final class
An implementation forCfnReplicatorProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnReplicatorProps.Builder
builder()
default String
The current version number of the replicator.default String
A summary description of the replicator.Kafka Clusters to use in setting up sources / targets for replication.A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.The name of the replicator.The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).getTags()
List of tags to attach to created Replicator.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKafkaClusters
Kafka Clusters to use in setting up sources / targets for replication.- 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.Alpha-numeric characters with '-' are allowed.
- See Also:
-
getServiceExecutionRoleArn
The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).- See Also:
-
getCurrentVersion
The current version number of the replicator.- See Also:
-
getDescription
A summary description of the replicator.- See Also:
-
getTags
List of tags to attach to created Replicator.- See Also:
-
builder
- Returns:
- a
CfnReplicatorProps.Builder
ofCfnReplicatorProps
-