Skip to content
v2.278.0

ServerlessScalingConfigurationProperty ​

Struct External

Contains the scaling configuration of a Neptune Serverless DB cluster.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_neptune as neptune } from 'aws-cdk-lib';
const serverlessScalingConfigurationProperty: neptune.CfnDBCluster.ServerlessScalingConfigurationProperty = {
  maxCapacity: 123,
  minCapacity: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_neptune as neptune

serverless_scaling_configuration_property = neptune.CfnDBCluster.ServerlessScalingConfigurationProperty(
    max_capacity=123,
    min_capacity=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.neptune.*;

ServerlessScalingConfigurationProperty serverlessScalingConfigurationProperty = ServerlessScalingConfigurationProperty.builder()
        .maxCapacity(123)
        .minCapacity(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Neptune;

var serverlessScalingConfigurationProperty = new ServerlessScalingConfigurationProperty {
    MaxCapacity = 123,
    MinCapacity = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

serverlessScalingConfigurationProperty := &ServerlessScalingConfigurationProperty{
	MaxCapacity: jsii.Number(123),
	MinCapacity: jsii.Number(123),
}

Properties ​

maxCapacitynumbermax_capacityint | floatmaxCapacityNumberMaxCapacitydoubleMaxCapacity*float64 required #
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.

You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.

minCapacitynumbermin_capacityint | floatminCapacityNumberMinCapacitydoubleMinCapacity*float64 required #
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.

You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.