interface ServerlessV2ScalingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DocDB.Mixins.CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdocdb/mixins#CfnDBClusterPropsMixin_ServerlessV2ScalingConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.docdb.mixins.CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_docdb.mixins.CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_docdb » mixins » CfnDBClusterPropsMixin » 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 { mixins as docdb_mixins } from '@aws-cdk/mixins-preview/aws-docdb';
const serverlessV2ScalingConfigurationProperty: docdb_mixins.CfnDBClusterPropsMixin.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
(optional)
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
(optional)
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