Skip to content
v2.274.0

Experimental

@aws-cdk/aws-msk-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

BrokerType Enum ​

The broker type for the cluster.

Example ​

ts
declare const vpc: ec2.Vpc;

const expressCluster = new msk.Cluster(this, 'ExpressCluster', {
  clusterName: 'MyExpressCluster',
  kafkaVersion: msk.KafkaVersion.V3_8_X,
  vpc,
  brokerType: msk.BrokerType.EXPRESS,
  instanceType: ec2.InstanceType.of(
    ec2.InstanceClass.M7G,
    ec2.InstanceSize.XLARGE,
  ),
});

Members ​

MemberDescription
STANDARDStandard brokers provide high-availability guarantees.
EXPRESSExpress brokers are a low-cost option for development, testing, and workloads that don't require the high availability guarantees of standard MSK cluster.

Referenced by ​

  • ClusterProps.brokerTypebroker_typebrokerTypeBrokerTypeBrokerType