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()) .topicNameConfiguration(ReplicationTopicNameConfigurationProperty.builder() .type("type") .build()) .topicsToExclude(List.of("topicsToExclude")) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnReplicator.ReplicationInfoProperty
static final class
An implementation forCfnReplicator.ReplicationInfoProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Configuration relating to consumer group replication.Amazon Resource Name of the source Kafka cluster.The type of compression to use writing records to target Kafka cluster.Amazon Resource Name of the target Kafka cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConsumerGroupReplication
Configuration relating to consumer group replication.- See Also:
-
getSourceKafkaClusterArn
Amazon Resource Name of the source Kafka cluster.- See Also:
-
getTargetCompressionType
The type of compression to use writing records to target Kafka cluster.- See Also:
-
getTargetKafkaClusterArn
Amazon Resource Name of the target Kafka cluster.- See Also:
-
getTopicReplication
- See Also:
-
builder
-