Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rds): scheduling modifications in the next scheduled maintenance…
… window (#33448) ### Issue # (if applicable) Closes #33447. ### Reason for this change CloudFormation has added `applyImmediately` feature to RDS instances. This allows to schedule modifications in the next scheduled maintenance window. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.ApplyImmediately.html ### Description of changes Added `applyImmediately` prop to `DatabaseInstanceNewProps` and `ClusterInstanceOptions`. To schedule modifications, specify `applyImmediately: false` in instance props. ```ts new rds.DatabaseInstance(this, 'Instance', { // ... applyImmediately: false, }); new rds.DatabaseCluster(this, 'Cluster', { // ... writer: rds.ClusterInstance.serverlessV2('writer', { applyImmediately: false, }), }); ``` Note: Currently, `applyImmediately` is not supported in the cluster configurations. ### Describe any new or updated permissions being added Nothing ### Description of how you validated changes Unit tests 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*
- Loading branch information