[aws-rds] Add BacktrackWindow prop to DatabaseCluster construct/ DatabaseClusterProps for Aurora DBs
Currently, you are unable to enable Backtrack when you are creating a new DatabaseCluster. And since you are unable to enable Backtrack after the Cluster has been created, the only way to enable it programmatically would require creating the Cluster in Cfn.
Use Case
Require this functionality to enhance backup/restore capabilities of an Aurora Cluster utilizing AWS CDK.
Proposed Solution
Add additional BackupWindow taking in a Duration as an additional DatabaseClusterProps.
Other
- [ ] :wave: I may be able to implement this feature request
- [ ] :warning: This feature might incur a breaking change
This is a :rocket: Feature Request
Team, we need backtrack window parameter too in RDS CDK for DatabaseCluster. Is it being released soon?
It's been a while for this, any updates on when is going to be available?
@Higherings no progress on our side. If you'd be willing to open us a Pull Request adding this, that would be amazing! Our "Contributing" guide: https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md.
In the meantime, you should be able to use escape hatches to enable this functionality.
To anybody coming across this from Google, the following is an example escape hatch:
const dbCluster = new DatabaseCluster(this, "my-rds-cluster", {
...
});
const dbClusterCfn = rds.node.defaultChild as CfnDBCluster;
dbClusterCfn.addPropertyOverride("BacktrackWindow", Duration.days(1).toSeconds());
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.