Interface CfnReplicator.TopicReplicationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicator.TopicReplicationProperty.Jsii$Proxy
- Enclosing class:
CfnReplicator
@Stability(Stable)
public static interface CfnReplicator.TopicReplicationProperty
extends software.amazon.jsii.JsiiSerializable
Details about topic replication.
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.*;
TopicReplicationProperty topicReplicationProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnReplicator.TopicReplicationPropertystatic final classAn implementation forCfnReplicator.TopicReplicationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether to periodically configure remote topic ACLs to match their corresponding upstream topics.default ObjectWhether to periodically configure remote topics to match their corresponding upstream topics.default ObjectWhether to periodically check for new topics and partitions.default ObjectSpecifies the position in the topics to start replicating from.default ObjectConfiguration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.List of regular expression patterns indicating the topics that should not be replicated.List of regular expression patterns indicating the topics to copy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTopicsToReplicate
List of regular expression patterns indicating the topics to copy.- See Also:
-
getCopyAccessControlListsForTopics
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.Returns union: either
BooleanorIResolvable- See Also:
-
getCopyTopicConfigurations
Whether to periodically configure remote topics to match their corresponding upstream topics.Returns union: either
BooleanorIResolvable- See Also:
-
getDetectAndCopyNewTopics
Whether to periodically check for new topics and partitions.Returns union: either
BooleanorIResolvable- See Also:
-
getStartingPosition
Specifies the position in the topics to start replicating from.Returns union: either
IResolvableorCfnReplicator.ReplicationStartingPositionProperty- See Also:
-
getTopicNameConfiguration
Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.Returns union: either
IResolvableorCfnReplicator.ReplicationTopicNameConfigurationProperty- See Also:
-
getTopicsToExclude
List of regular expression patterns indicating the topics that should not be replicated.- See Also:
-
builder
-