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.

ServerlessClusterProps Struct ​

Properties for a MSK Serverless Cluster.

Example ​

ts
declare const vpc: ec2.Vpc;

const serverlessCluster = new msk.ServerlessCluster(this, 'ServerlessCluster', {
  clusterName: 'MyServerlessCluster',
  vpcConfigs: [
    { vpc },
  ],
});

Properties ​

clusterNamestringcluster_namestrclusterNameStringClusterNamestringClusterName*string#
The physical name of the cluster.

Default: auto generate

vpcConfigsVpcConfig[]vpc_configstyping.List[VpcConfig]vpcConfigsList<VpcConfig>VpcConfigsVpcConfig[]VpcConfigs*[]VpcConfigrequired#
The configuration of the Amazon VPCs for the cluster.

You can specify up to 5 VPC configurations.