Interface CfnDBCluster.ServerlessV2ScalingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBCluster.ServerlessV2ScalingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDBCluster
@Stability(Stable)
public static interface CfnDBCluster.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.services.docdb.*; ServerlessV2ScalingConfigurationProperty serverlessV2ScalingConfigurationProperty = ServerlessV2ScalingConfigurationProperty.builder() .maxCapacity(123) .minCapacity(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDBCluster.ServerlessV2ScalingConfigurationProperty
static final class
An implementation forCfnDBCluster.ServerlessV2ScalingConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.The 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
-