Interface CfnDBCluster.ServerlessScalingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBCluster.ServerlessScalingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDBCluster
@Stability(Stable)
public static interface CfnDBCluster.ServerlessScalingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains the scaling configuration of a Neptune Serverless DB cluster.
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.neptune.*;
ServerlessScalingConfigurationProperty serverlessScalingConfigurationProperty = ServerlessScalingConfigurationProperty.builder()
.maxCapacity(123)
.minCapacity(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDBCluster.ServerlessScalingConfigurationPropertystatic final classAn implementation forCfnDBCluster.ServerlessScalingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxCapacity
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.
- See Also:
-
getMinCapacity
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.
- See Also:
-
builder
-