Interface CfnReplicator.ReplicationInfoProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnReplicator.ReplicationInfoProperty.Jsii$Proxy
Enclosing class:
CfnReplicator

@Stability(Stable) public static interface CfnReplicator.ReplicationInfoProperty extends software.amazon.jsii.JsiiSerializable
Specifies configuration for replication between a source and target Kafka cluster.

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.*;
 ReplicationInfoProperty replicationInfoProperty = 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())
                 .topicsToExclude(List.of("topicsToExclude"))
                 .build())
         .build();
 

See Also: