interface ServerlessV2ScalingConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DocDB.CfnDBCluster.ServerlessV2ScalingConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdocdb#CfnDBCluster_ServerlessV2ScalingConfigurationProperty |
![]() | software.amazon.awscdk.services.docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty |
![]() | aws_cdk.aws_docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty |
![]() | 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.