Class CfnReplicator.TopicReplicationProperty
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TopicReplicationProperty : Object, CfnReplicator.ITopicReplicationProperty
Syntax (vb)
Public Class TopicReplicationProperty
Inherits Object
Implements CfnReplicator.ITopicReplicationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK;
var topicReplicationProperty = new TopicReplicationProperty {
TopicsToReplicate = new [] { "topicsToReplicate" },
// the properties below are optional
CopyAccessControlListsForTopics = false,
CopyTopicConfigurations = false,
DetectAndCopyNewTopics = false,
StartingPosition = new ReplicationStartingPositionProperty {
Type = "type"
},
TopicsToExclude = new [] { "topicsToExclude" }
};
Synopsis
Constructors
TopicReplicationProperty() |
Properties
CopyAccessControlListsForTopics | Whether to periodically configure remote topic ACLs to match their corresponding upstream topics. |
CopyTopicConfigurations | Whether to periodically configure remote topics to match their corresponding upstream topics. |
DetectAndCopyNewTopics | Whether to periodically check for new topics and partitions. |
StartingPosition | Configuration for specifying the position in the topics to start replicating from. |
TopicsToExclude | List of regular expression patterns indicating the topics that should not be replicated. |
TopicsToReplicate | List of regular expression patterns indicating the topics to copy. |
Constructors
TopicReplicationProperty()
public TopicReplicationProperty()
Properties
CopyAccessControlListsForTopics
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
public object CopyAccessControlListsForTopics { get; set; }
Property Value
System.Object
Remarks
CopyTopicConfigurations
Whether to periodically configure remote topics to match their corresponding upstream topics.
public object CopyTopicConfigurations { get; set; }
Property Value
System.Object
Remarks
DetectAndCopyNewTopics
Whether to periodically check for new topics and partitions.
public object DetectAndCopyNewTopics { get; set; }
Property Value
System.Object
Remarks
StartingPosition
Configuration for specifying the position in the topics to start replicating from.
public object StartingPosition { get; set; }
Property Value
System.Object
Remarks
TopicsToExclude
List of regular expression patterns indicating the topics that should not be replicated.
public string[] TopicsToExclude { get; set; }
Property Value
System.String[]
Remarks
TopicsToReplicate
List of regular expression patterns indicating the topics to copy.
public string[] TopicsToReplicate { get; set; }
Property Value
System.String[]