AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MSK::Topic

CfnTopic

Resource Type definition for AWS::MSK::Topic.

Import

import { CfnTopic } from 'aws-cdk-lib/aws-msk';

Or use the module namespace:

import * as msk from 'aws-cdk-lib/aws-msk';
// msk.CfnTopic

Properties

Configuration passed to the constructor as CfnTopicProps.

clusterArnRequired
string

The Amazon Resource Name (ARN) of the MSK cluster.

partitionCountRequired
number

The number of partitions for the topic.

replicationFactorRequired
number

The replication factor for the topic.

topicNameRequired
string

The name of the topic.

configsOptional
string

Base64 encoded configuration properties of the topic.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter