Skip to content

DatabaseCluster: serverlessV2MinCapacity should allow scaling to 0 #32234

@tehnrd

Description

@tehnrd

Describe the feature

Aurora Serverless V2 now allows scaling to zero (https://aws.amazon.com/blogs/database/introducing-scaling-to-0-capacity-with-amazon-aurora-serverless-v2/), but there is validation in CDK that prevents any values less than 0.5.

This validation needs to be removed.

Use Case

You should be able to scale the Aurora Serverless V2 cluster to 0.

Proposed Solution

Modfity /packages/aws-cdk-lib/aws-rds/lib/cluster.ts and remove the greater that 0.5 validation.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.168.0

Environment details (OS name and version, etc.)

OSX 15.0 (24A335)

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-rdsRelated to Amazon Relational Databaseeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions