Delete Backups

Delete backup recovery points from a vault.

Source codePermissions

Deleting a recovery point deletes the underlying backup data (e.g. AMIs, Snapshots, etc.) Use with caution.

Usage

Input

Parameter Description Type Required Default Value
backup_vault_name Backup vault from which to delete recovery points string Yes None
recovery_point_arns Recovery point ARNs to delete list(string) Yes None
region Region for operation. Leave blank for session default string No Session Default
debug Increase log verbosity bool No False
silent Decrease log verbosity bool No False
output Output format
table
string No None
session Established session object No None

Output

Returns a list of recovery points that failed the deletion:

['arn:aws:ec2:us-east-1::image/ami-abcdef1234567890']

Examples

Delete backups from Default backup vault:

aaws backup delete_backups --backup_vault_name Default --recovery_point_arns arn:aws:ec2:us-east-1::image/ami-1234567890abcdef0 arn:aws:ec2:us-east-1::image/ami-abcdef1234567890