-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(rds): DatabaseCluster
is missing the ability to specify SecondsUntilAutoPause
on ServerlessV2ScalingConfiguration
#32563
Comments
Hi @neilferreira , thanks for requesting this. On checking the cloudfrormation docs, here are my findings -
So I would request you to wait for sometime before it becomes available at L1 construct. Once that is done, pls feel free to submit a PR for the CDK L2 construct support. Hope that would be helpful. |
FYI: L1 is available now. #32582 |
@neilferreira , pls feel free to contribute L2 construct. Looking forward to your PR! |
Thankyou. I'm happy to make an attempt when I get back to work after the
Christmas break.
…On Tue, 24 Dec 2024 at 3:01 AM, Shailja Khurana ***@***.***> wrote:
@neilferreira <https://github.com/neilferreira> , pls feel free to
contribute L2 construct. Looking forward to your PR!
—
Reply to this email directly, view it on GitHub
<#32563 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKOL4HIVUR3AMACLLO5ENL2HBMYNAVCNFSM6AAAAABTZ2UJSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGE3TAMRSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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: