interface ServerlessClusterProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.Alpha.ServerlessClusterProps |
Go | github.com/aws/aws-cdk-go/awscdkmskalpha/v2#ServerlessClusterProps |
Java | software.amazon.awscdk.services.msk.alpha.ServerlessClusterProps |
Python | aws_cdk.aws_msk_alpha.ServerlessClusterProps |
TypeScript (source) | @aws-cdk/aws-msk-alpha » ServerlessClusterProps |
Properties for a MSK Serverless Cluster.
Example
declare const vpc: ec2.Vpc;
const serverlessCluster = new msk.ServerlessCluster(this, 'ServerlessCluster', {
clusterName: 'MyServerlessCluster',
vpcConfigs: [
{ vpc },
],
});
Properties
| Name | Type | Description |
|---|---|---|
| vpc | Vpc[] | The configuration of the Amazon VPCs for the cluster. |
| cluster | string | The physical name of the cluster. |
vpcConfigs
Type:
Vpc[]
The configuration of the Amazon VPCs for the cluster.
You can specify up to 5 VPC configurations.
clusterName?
Type:
string
(optional, default: auto generate)
The physical name of the cluster.

.NET
Go
Java
Python
TypeScript (