TopicReplicationProperty Struct
Details about topic replication.
Example
ts
// 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
copyAccessControlListsForTopicsoptionalboolean | IResolvablecopy_access_control_lists_for_topicsoptionaltyping.Union[bool, IResolvable]copyAccessControlListsForTopicsoptionalBooleanCopyAccessControlListsForTopicsoptionalboolCopyAccessControlListsForTopicsoptionalinterface{}#Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
copyTopicConfigurationsoptionalboolean | IResolvablecopy_topic_configurationsoptionaltyping.Union[bool, IResolvable]copyTopicConfigurationsoptionalBooleanCopyTopicConfigurationsoptionalboolCopyTopicConfigurationsoptionalinterface{}#Whether to periodically configure remote topics to match their corresponding upstream topics.
detectAndCopyNewTopicsoptionalboolean | IResolvabledetect_and_copy_new_topicsoptionaltyping.Union[bool, IResolvable]detectAndCopyNewTopicsoptionalBooleanDetectAndCopyNewTopicsoptionalboolDetectAndCopyNewTopicsoptionalinterface{}#Whether to periodically check for new topics and partitions.
startingPositionoptionalIResolvable | CfnReplicator.ReplicationStartingPositionPropertystarting_positionoptionaltyping.Union[IResolvable, ReplicationStartingPositionProperty]startingPositionoptionalIResolvableStartingPositionoptionalIResolvableStartingPositionoptionalinterface{}#Specifies the position in the topics to start replicating from.
topicNameConfigurationoptionalIResolvable | CfnReplicator.ReplicationTopicNameConfigurationPropertytopic_name_configurationoptionaltyping.Union[IResolvable, ReplicationTopicNameConfigurationProperty]topicNameConfigurationoptionalIResolvableTopicNameConfigurationoptionalIResolvableTopicNameConfigurationoptionalinterface{}#Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.
topicsToExcludeoptionalstring[]topics_to_excludeoptionaltyping.List[str]topicsToExcludeoptionalList<String>TopicsToExcludeoptionalstring[]TopicsToExcludeoptional*[]*string#List of regular expression patterns indicating the topics that should not be replicated.
topicsToReplicatestring[]topics_to_replicatetyping.List[str]topicsToReplicateList<String>TopicsToReplicatestring[]TopicsToReplicate*[]*stringrequired#List of regular expression patterns indicating the topics to copy.