AWS::MSK::TopicResource Type definition for AWS::MSK::Topic.
import { CfnTopic } from 'aws-cdk-lib/aws-msk';Or use the module namespace:
import * as msk from 'aws-cdk-lib/aws-msk';
// msk.CfnTopicConfiguration passed to the constructor as CfnTopicProps.
clusterArnRequiredstringThe Amazon Resource Name (ARN) of the MSK cluster.
partitionCountRequirednumberThe number of partitions for the topic.
replicationFactorRequirednumberThe replication factor for the topic.
topicNameRequiredstringThe name of the topic.
configsOptionalstringBase64 encoded configuration properties of the topic.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-mskAWS::MSK::Topic