Closed badmintoncryer closed 2 days ago
@go-to-k Thank you for your review!
Then I got an error even though it was false.
This result was also something I did not anticipate. The validation using !== undefined
was not intended to account for this but happened by chance.
I added a case to the unit test to verify that an error occurs even when false is passed!
It might be good to add a code comment at the conditional branch that says that a CFn error will occur not only when the property is true but also when false, if the engine type is not mysql. Otherwise developers might get confused.
@go-to-k I have updated the description!
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.
Issue # (if applicable)
Closes #31523 .
Reason for this change
Cloudformation supports enabling local write forwarding feature but AWS CDK does not support it.
Description of changes
enableLocalWriteForwarding
toDatabaseClusterBaseProps
engineType
is eitheraurora
oraurora-mysql
engineType
set toaurora
means launching a MySQL-compatible Aurora cluster.Description of how you validated changes
Add both unit and integ tests.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license