Interface CfnReplicatorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:19.834Z")
@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
Nested ClassesModifier 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 of the MSK replicator.default String
A 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.Builder
ofCfnReplicatorProps
-