Skip to content
v2.275.0

BackupPlanCopyActionProps Struct ​

Properties for a BackupPlanCopyAction.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_backup as backup } from 'aws-cdk-lib';
import { aws_backup as interfaces_backup } from 'aws-cdk-lib/interfaces';

declare const backupVaultRef: interfaces_backup.IBackupVaultRef;
const backupPlanCopyActionProps: backup.BackupPlanCopyActionProps = {
  destinationBackupVault: backupVaultRef,

  // the properties below are optional
  deleteAfter: cdk.Duration.minutes(30),
  moveToColdStorageAfter: cdk.Duration.minutes(30),
};

Properties ​

deleteAfteroptionalDurationdelete_afteroptionalDurationdeleteAfteroptionalDurationDeleteAfteroptionalDurationDeleteAfteroptionalDuration#
Specifies the duration after creation that a copied recovery point is deleted from the destination vault.

Default: recovery point is never deleted

Must be at least 90 days greater than moveToColdStorageAfter, if specified.

destinationBackupVaultIBackupVaultRefdestination_backup_vaultIBackupVaultRefdestinationBackupVaultIBackupVaultRefDestinationBackupVaultIBackupVaultRefDestinationBackupVaultIBackupVaultRefrequired#
Destination Vault for recovery points to be copied into.
moveToColdStorageAfteroptionalDurationmove_to_cold_storage_afteroptionalDurationmoveToColdStorageAfteroptionalDurationMoveToColdStorageAfteroptionalDurationMoveToColdStorageAfteroptionalDuration#
Specifies the duration after creation that a copied recovery point is moved to cold storage.

Default: recovery point is never moved to cold storage