aws::backup-plan¶
Creates a backup plan.
Example¶
aws::backup-plan backup
configuration
name: my-rds-backups
rule
name: weekly
target-backup-vault: $(aws::backup-vault target-vault)
schedule: 'cron(0 5 ? * * *)'
start-window-minutes: 60
completion-window-minutes: 120
enable-continuous-backup: false
recovery-point-tags: {
"example-tag": "example-value"
}
lifecycle
delete-after-days: 365
move-to-cold-storage-after-days: 30
end
copy-action
destination-backup-vault: $(aws::backup-vault destination-vault)
lifecycle
delete-after-days: 365
move-to-cold-storage-after-days: 30
end
end
end
end
tags: {
project: "my project"
}
end
Attributes¶
Attribute | Description |
---|---|
configuration subresource | The body of a backup plan. (Required)
|
tags map | The tags for the plan. |
creator-request-id | The ID Identifies the request and allows failed requests to be retried without the risk of running the operation twice. |
Outputs¶
Attribute | Description |
---|---|
arn | The ARN of the backup plan. |
id | The ID of the backup plan. |