Class CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty
Sets the scaling configuration of an Amazon DocumentDB Serverless cluster.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.DocDB.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty : CfnDBClusterPropsMixin.IServerlessV2ScalingConfigurationProperty
Syntax (vb)
Public Class CfnDBClusterPropsMixin.ServerlessV2ScalingConfigurationProperty Implements CfnDBClusterPropsMixin.IServerlessV2ScalingConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.DocDB.Mixins;
var serverlessV2ScalingConfigurationProperty = new ServerlessV2ScalingConfigurationProperty {
MaxCapacity = 123,
MinCapacity = 123
};
Synopsis
Constructors
| ServerlessV2ScalingConfigurationProperty() | Sets the scaling configuration of an Amazon DocumentDB Serverless cluster. |
Properties
| MaxCapacity | The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. |
| MinCapacity | The minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. |
Constructors
ServerlessV2ScalingConfigurationProperty()
Sets the scaling configuration of an Amazon DocumentDB Serverless cluster.
public ServerlessV2ScalingConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.DocDB.Mixins;
var serverlessV2ScalingConfigurationProperty = new ServerlessV2ScalingConfigurationProperty {
MaxCapacity = 123,
MinCapacity = 123
};
Properties
MaxCapacity
The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.
public double? MaxCapacity { get; set; }
Property Value
Remarks
You can specify DCU values in half-step increments, such as 32, 32.5, 33, and so on.
MinCapacity
The minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.
public double? MinCapacity { get; set; }
Property Value
Remarks
You can specify DCU values in half-step increments, such as 8, 8.5, 9, and so on.