Interface CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDBClusterPropsMixin
@Stability(Stable)
public static interface CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Sets the scaling configuration of an Amazon DocumentDB Serverless 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.cfnpropertymixins.services.docdb.*;
ServerlessV2ScalingConfigurationProperty serverlessV2ScalingConfigurationProperty = ServerlessV2ScalingConfigurationProperty.builder()
.maxCapacity(123)
.minCapacity(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.default NumberThe minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxCapacity
The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.You can specify DCU values in half-step increments, such as 32, 32.5, 33, and so on.
- See Also:
-
getMinCapacity
The minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.You can specify DCU values in half-step increments, such as 8, 8.5, 9, and so on.
- See Also:
-
builder
@Stability(Stable) static CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty.Builder builder()
-