interface TopicReplicationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MSK.CfnReplicator.TopicReplicationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnReplicator_TopicReplicationProperty |
Java | software.amazon.awscdk.services.msk.CfnReplicator.TopicReplicationProperty |
Python | aws_cdk.aws_msk.CfnReplicator.TopicReplicationProperty |
TypeScript | aws-cdk-lib » aws_msk » CfnReplicator » TopicReplicationProperty |
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 { aws_msk as msk } from 'aws-cdk-lib';
const topicReplicationProperty: msk.CfnReplicator.TopicReplicationProperty = {
topicsToReplicate: ['topicsToReplicate'],
// the properties below are optional
copyAccessControlListsForTopics: false,
copyTopicConfigurations: false,
detectAndCopyNewTopics: false,
startingPosition: {
type: 'type',
},
topicNameConfiguration: {
type: 'type',
},
topicsToExclude: ['topicsToExclude'],
};
Properties
Name | Type | Description |
---|---|---|
topics | string[] | List of regular expression patterns indicating the topics to copy. |
copy | boolean | IResolvable | Whether to periodically configure remote topic ACLs to match their corresponding upstream topics. |
copy | boolean | IResolvable | Whether to periodically configure remote topics to match their corresponding upstream topics. |
detect | boolean | IResolvable | Whether to periodically check for new topics and partitions. |
starting | IResolvable | Replication | Specifies the position in the topics to start replicating from. |
topic | IResolvable | Replication | Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias. |
topics | string[] | List of regular expression patterns indicating the topics that should not be replicated. |
topicsToReplicate
Type:
string[]
List of regular expression patterns indicating the topics to copy.
copyAccessControlListsForTopics?
Type:
boolean |
IResolvable
(optional)
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
copyTopicConfigurations?
Type:
boolean |
IResolvable
(optional)
Whether to periodically configure remote topics to match their corresponding upstream topics.
detectAndCopyNewTopics?
Type:
boolean |
IResolvable
(optional)
Whether to periodically check for new topics and partitions.
startingPosition?
Type:
IResolvable
|
Replication
(optional)
Specifies the position in the topics to start replicating from.
topicNameConfiguration?
Type:
IResolvable
|
Replication
(optional)
Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.
topicsToExclude?
Type:
string[]
(optional)
List of regular expression patterns indicating the topics that should not be replicated.