Skip to content

Commit 48c4192

Browse files
feat(rds): support for local write forwarding in an Aurora Mysql cluster (#31524)
### Issue # (if applicable) Closes #31523 . ### Reason for this change Cloudformation supports [enabling local write forwarding](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enablelocalwriteforwarding) feature but AWS CDK does not support it. ### Description of changes - Add `enableLocalWriteForwarding` to `DatabaseClusterBaseProps` - Add validation that `engineType` is either `aurora` or `aurora-mysql` - Having `engineType` set to `aurora` means launching a MySQL-compatible Aurora cluster. ### Description of how you validated changes Add both unit and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a633ee6 commit 48c4192

14 files changed

+2584
-0
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-enable-local-write-forwarding.js.snapshot/EnableLocalWriteForwardingClusterStack.assets.json

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)