(rds): DatabaseCluster
is missing the ability to specify SecondsUntilAutoPause
on ServerlessV2ScalingConfiguration
#32563
Labels
@aws-cdk/aws-rds
Related to Amazon Relational Database
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p2
Describe the feature
Serverless V2 provides the ability to set the minimum and maximum capacity of a Serverless V2 DB cluster. Alongside these properties, are the ability to dictate the number of seconds of inactivity that must be reached for the database to be auto paused.
The ability to specify
SecondsUntilAutoPause
is missing from CDK.Use Case
To be able to automatically pause my database after a period of inactivity, with the default of
5 minutes
being too low.Proposed Solution
Update
aws-cdk/packages/aws-cdk-lib/aws-rds/lib/cluster.ts
Lines 867 to 877 in e9b5026
SecondsUntilAutoPause
as per https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.htmlOther Information
No response
Acknowledgements
CDK version used
v2.173.2
Environment details (OS name and version, etc.)
Any
The text was updated successfully, but these errors were encountered: