Skip to content

Commit

Permalink
docs(backup): default value for completionWindow is incorrect (#27061)
Browse files Browse the repository at this point in the history
Currently, the description regarding default value for `completionWindow` is incorrect.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_backup.BackupPlanRuleProps.html#completionwindow
> Type: Duration (optional, default: 8 hours)

Correct value is 7 days (10080 minutes).

Closes #27050

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
tam0ri authored Sep 8, 2023
1 parent 4eb3aed commit 0ebad42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-backup/lib/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface BackupPlanRuleProps {
* The duration after a backup job is successfully started before it must be
* completed or it is canceled by AWS Backup.
*
* @default - 8 hours
* @default - 7 days
*/
readonly completionWindow?: Duration;

Expand Down

0 comments on commit 0ebad42

Please sign in to comment.