-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(rds): construct for Aurora Serverless Clusters #10516
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Some minor notes below.
packages/@aws-cdk/aws-rds/test/serverless/integ.serverless-cluster.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-rds/test/serverless/integ.serverless-cluster.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk/aws-rds/test/serverless/integ.serverless-cluster.ts
Outdated
Show resolved
Hide resolved
I would also move the tests out of the |
For reducing duplication, here are my thoughts. I don't think inheritance will cut it here, because of the conflicting requirements between the serverless and regular Clusters (the fact that they need separate Resource interfaces I think makes it impossible to simply inherit the implementation from). So, how about, after you've completed the implementation of the serverless Cluster and written all of the tests, you extract a new module-private Construct called something like Thoughts on the idea? |
…to align to Cluster
taking a stab at this now update (9/30/2020): I'm going to defer this change to a chore/refactor PR. I think it's super valuable and do agree it's the right place to get to. rather than grow scope of this PR, I'd like to get good scrutiny on it as well. also briefly chatted with @njlynch and his instinct was also to do it in a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woohoo! 🎉
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Some minor comments.
As discussed offline - please also mark |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! 🎉
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you @shivlaks |
Adds a new construct to specify Aurora Serverless clusters
This is largely a stripped down version of
Cluster
as there are many propertieswithin clusters that do not apply to Aurora Serverless. Some of the notable
exclusions are:
Added:
provisioned clusters
AuroraCapacityUnit
to specify the provisioned capacityCloses #929
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license