ServerlessClusterProps
- class aws_cdk.aws_msk_alpha.ServerlessClusterProps(*, vpc_configs, cluster_name=None)
Bases:
object
(experimental) Properties for a MSK Serverless Cluster.
- Parameters:
vpc_configs (
Sequence
[Union
[VpcConfig
,Dict
[str
,Any
]]]) – (experimental) The configuration of the Amazon VPCs for the cluster. You can specify up to 5 VPC configurations.cluster_name (
Optional
[str
]) – (experimental) The physical name of the cluster. Default: - auto generate
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc serverless_cluster = msk.ServerlessCluster(self, "ServerlessCluster", cluster_name="MyServerlessCluster", vpc_configs=[msk.VpcConfig(vpc=vpc) ] )
Attributes
- cluster_name
(experimental) The physical name of the cluster.
- Default:
auto generate
- Stability:
experimental
- vpc_configs
(experimental) The configuration of the Amazon VPCs for the cluster.
You can specify up to 5 VPC configurations.
- Stability:
experimental