CfnTopicProps Struct
Properties for defining a CfnTopic.
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 cfnTopicProps: msk.CfnTopicProps = {
clusterArn: 'clusterArn',
partitionCount: 123,
replicationFactor: 123,
topicName: 'topicName',
// the properties below are optional
configs: 'configs',
};
Properties
The Amazon Resource Name (ARN) of the MSK cluster.
configsoptionalstringconfigsoptionalstrconfigsoptionalStringConfigsoptionalstringConfigsoptional*string#Base64 encoded configuration properties of the topic.
partitionCountnumberpartition_countint | floatpartitionCountNumberPartitionCountdoublePartitionCount*float64required#The number of partitions for the topic.
replicationFactornumberreplication_factorint | floatreplicationFactorNumberReplicationFactordoubleReplicationFactor*float64required#The replication factor for the topic.
The name of the topic.