Interface CfnReplicatorPropsMixin.ReplicationInfoProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicatorPropsMixin.ReplicationInfoProperty.Jsii$Proxy
- Enclosing class:
CfnReplicatorPropsMixin
@Stability(Stable)
public static interface CfnReplicatorPropsMixin.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.cfnpropertymixins.services.msk.*;
ReplicationInfoProperty replicationInfoProperty = ReplicationInfoProperty.builder()
.consumerGroupReplication(ConsumerGroupReplicationProperty.builder()
.consumerGroupsToExclude(List.of("consumerGroupsToExclude"))
.consumerGroupsToReplicate(List.of("consumerGroupsToReplicate"))
.detectAndCopyNewConsumerGroups(false)
.synchroniseConsumerGroupOffsets(false)
.build())
.sourceKafkaClusterArn("sourceKafkaClusterArn")
.targetCompressionType("targetCompressionType")
.targetKafkaClusterArn("targetKafkaClusterArn")
.topicReplication(TopicReplicationProperty.builder()
.copyAccessControlListsForTopics(false)
.copyTopicConfigurations(false)
.detectAndCopyNewTopics(false)
.startingPosition(ReplicationStartingPositionProperty.builder()
.type("type")
.build())
.topicNameConfiguration(ReplicationTopicNameConfigurationProperty.builder()
.type("type")
.build())
.topicsToExclude(List.of("topicsToExclude"))
.topicsToReplicate(List.of("topicsToReplicate"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReplicatorPropsMixin.ReplicationInfoPropertystatic final classAn implementation forCfnReplicatorPropsMixin.ReplicationInfoProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration relating to consumer group replication.default StringThe ARN of the source Kafka cluster.default StringThe compression type to use when producing records to target cluster.default StringThe ARN of the target Kafka cluster.default ObjectConfiguration relating to topic replication.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConsumerGroupReplication
Configuration relating to consumer group replication.Returns union: either
IResolvableorCfnReplicatorPropsMixin.ConsumerGroupReplicationProperty- See Also:
-
getSourceKafkaClusterArn
The ARN of the source Kafka cluster.- See Also:
-
getTargetCompressionType
The compression type to use when producing records to target cluster.- See Also:
-
getTargetKafkaClusterArn
The ARN of the target Kafka cluster.- See Also:
-
getTopicReplication
Configuration relating to topic replication.Returns union: either
IResolvableorCfnReplicatorPropsMixin.TopicReplicationProperty- See Also:
-
builder
-