Class ClusterInstanceType
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rds.ClusterInstanceType
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-24T10:56:38.741Z")
@Stability(Stable)
public class ClusterInstanceType
extends software.amazon.jsii.JsiiObject
The type of Aurora Cluster Instance.
Can be either serverless v2 or provisioned
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.rds.*; ClusterInstanceType clusterInstanceType = new ClusterInstanceType("instanceType", InstanceType.PROVISIONED);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionClusterInstanceType
(String instanceType, InstanceType type) protected
ClusterInstanceType
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ClusterInstanceType
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
static ClusterInstanceType
Aurora Provisioned instance type.static ClusterInstanceType
provisioned
(InstanceType instanceType) Aurora Provisioned instance type.static ClusterInstanceType
Aurora Serverless V2 instance type.toString()
String representation of the instance type that can be used in the CloudFormation resource.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ClusterInstanceType
protected ClusterInstanceType(software.amazon.jsii.JsiiObjectRef objRef) -
ClusterInstanceType
protected ClusterInstanceType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ClusterInstanceType
@Stability(Stable) public ClusterInstanceType(@NotNull String instanceType, @NotNull InstanceType type) - Parameters:
instanceType
- This parameter is required.type
- This parameter is required.
-
-
Method Details
-
provisioned
@Stability(Stable) @NotNull public static ClusterInstanceType provisioned(@Nullable InstanceType instanceType) Aurora Provisioned instance type.- Parameters:
instanceType
-
-
provisioned
Aurora Provisioned instance type. -
serverlessV2
Aurora Serverless V2 instance type.- See Also:
-
toString
String representation of the instance type that can be used in the CloudFormation resource. -
getType
-