Class ServerlessCluster
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.msk.alpha.ClusterBase
software.amazon.awscdk.services.msk.alpha.ServerlessCluster
- All Implemented Interfaces:
IResource,IConnectable,ICluster,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:50.301Z")
@Stability(Experimental)
public class ServerlessCluster
extends ClusterBase
(experimental) Create a MSK Serverless Cluster.
Example:
Vpc vpc;
ServerlessCluster serverlessCluster = ServerlessCluster.Builder.create(this, "ServerlessCluster")
.clusterName("MyServerlessCluster")
.vpcConfigs(List.of(VpcConfig.builder().vpc(vpc).build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forServerlessCluster.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.msk.alpha.ICluster
ICluster.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServerlessCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedServerlessCluster(software.amazon.jsii.JsiiObjectRef objRef) ServerlessCluster(software.constructs.Construct scope, String id, ServerlessClusterProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IClusterfromClusterArn(software.constructs.Construct scope, String id, String clusterArn) (experimental) Reference an existing cluster, defined outside of the CDK code, by name.(experimental) The ARN of cluster.(experimental) The physical name of the cluster.Methods inherited from class software.amazon.awscdk.services.msk.alpha.ClusterBase
getConnectionsMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
ServerlessCluster
protected ServerlessCluster(software.amazon.jsii.JsiiObjectRef objRef) -
ServerlessCluster
protected ServerlessCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ServerlessCluster
@Stability(Experimental) public ServerlessCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ServerlessClusterProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromClusterArn
@Stability(Experimental) @NotNull public static ICluster fromClusterArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String clusterArn) (experimental) Reference an existing cluster, defined outside of the CDK code, by name.- Parameters:
scope- This parameter is required.id- This parameter is required.clusterArn- This parameter is required.
-
getClusterArn
(experimental) The ARN of cluster.- Specified by:
getClusterArnin interfaceICluster- Specified by:
getClusterArnin classClusterBase
-
getClusterName
(experimental) The physical name of the cluster.- Specified by:
getClusterNamein interfaceICluster- Specified by:
getClusterNamein classClusterBase
-