AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MSK::Cluster

CfnCluster

Creates a new MSK cluster.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnClusterProps.

brokerNodeGroupInfoRequired
IResolvable | BrokerNodeGroupInfoProperty

Information about the broker nodes in the cluster.

clusterNameRequired
string

The name of the cluster.

kafkaVersionRequired
string

The version of Apache Kafka. You can use Amazon MSK to create clusters that use [supported Apache Kafka versions](https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html) .

numberOfBrokerNodesRequired
number

The number of broker nodes in the cluster.

clientAuthenticationOptional
IResolvable | ClientAuthenticationProperty

Includes all client authentication related information.

configurationInfoOptional
IResolvable | ConfigurationInfoProperty

Represents the configuration that you want MSK to use for the cluster.

currentVersionOptional
string
encryptionInfoOptional
IResolvable | EncryptionInfoProperty

Includes all encryption-related information.

enhancedMonitoringOptional
string

Specifies the level of monitoring for the MSK cluster.

loggingInfoOptional
IResolvable | LoggingInfoProperty

Logging info details for the cluster.

openMonitoringOptional
IResolvable | OpenMonitoringProperty

The settings for open monitoring.

rebalancingOptional
IResolvable | RebalancingProperty
storageModeOptional
string

This controls storage mode for supported storage tiers.

tagsOptional
{ [key: string]: string }

An arbitrary set of tags (key-value pairs) for the cluster.

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