BackupPlanCopyActionProps
- class aws_cdk.aws_backup.BackupPlanCopyActionProps(*, destination_backup_vault, delete_after=None, move_to_cold_storage_after=None)
Bases:
object
Properties for a BackupPlanCopyAction.
- Parameters:
destination_backup_vault (
IBackupVault
) – Destination Vault for recovery points to be copied into.delete_after (
Optional
[Duration
]) – Specifies the duration after creation that a copied recovery point is deleted from the destination vault. Must be at least 90 days greater thanmoveToColdStorageAfter
, if specified. Default: - recovery point is never deletedmove_to_cold_storage_after (
Optional
[Duration
]) – Specifies the duration after creation that a copied recovery point is moved to cold storage. Default: - recovery point is never moved to cold storage
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk from aws_cdk import aws_backup as backup # backup_vault: backup.BackupVault backup_plan_copy_action_props = backup.BackupPlanCopyActionProps( destination_backup_vault=backup_vault, # the properties below are optional delete_after=cdk.Duration.minutes(30), move_to_cold_storage_after=cdk.Duration.minutes(30) )
Attributes
- delete_after
Specifies the duration after creation that a copied recovery point is deleted from the destination vault.
Must be at least 90 days greater than
moveToColdStorageAfter
, if specified.- Default:
recovery point is never deleted
- destination_backup_vault
Destination Vault for recovery points to be copied into.
- move_to_cold_storage_after
Specifies the duration after creation that a copied recovery point is moved to cold storage.
- Default:
recovery point is never moved to cold storage