interface ServerlessV2ScalingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DocDB.CfnDBCluster.ServerlessV2ScalingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdocdb#CfnDBCluster_ServerlessV2ScalingConfigurationProperty |
Java | software.amazon.awscdk.services.docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty |
Python | aws_cdk.aws_docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty |
TypeScript | aws-cdk-lib » aws_docdb » CfnDBCluster » ServerlessV2ScalingConfigurationProperty |
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 { aws_docdb as docdb } from 'aws-cdk-lib';
const serverlessV2ScalingConfigurationProperty: docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty = {
maxCapacity: 123,
minCapacity: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| max | number | The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. |
| min | number | The minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. |
maxCapacity
Type:
number
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.
minCapacity
Type:
number
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.

.NET
Go
Java
Python
TypeScript