aws-cdk-lib.aws_backup.BackupPlanCopyActionProps

interface BackupPlanCopyActionProps

LanguageType name
.NETAmazon.CDK.AWS.Backup.BackupPlanCopyActionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbackup#BackupPlanCopyActionProps
Javasoftware.amazon.awscdk.services.backup.BackupPlanCopyActionProps
Pythonaws_cdk.aws_backup.BackupPlanCopyActionProps
TypeScript (source)aws-cdk-lib » aws_backup » BackupPlanCopyActionProps

Properties for a BackupPlanCopyAction.

Example

// 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';

declare const backupVault: backup.BackupVault;
const backupPlanCopyActionProps: backup.BackupPlanCopyActionProps = {
  destinationBackupVault: backupVault,

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

Properties

NameTypeDescription
destinationBackupVaultIBackupVaultDestination Vault for recovery points to be copied into.
deleteAfter?DurationSpecifies the duration after creation that a copied recovery point is deleted from the destination vault.
moveToColdStorageAfter?DurationSpecifies the duration after creation that a copied recovery point is moved to cold storage.

destinationBackupVault

Type: IBackupVault

Destination Vault for recovery points to be copied into.


deleteAfter?

Type: Duration (optional, default: recovery point is never deleted)

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.


moveToColdStorageAfter?

Type: Duration (optional, default: recovery point is never moved to cold storage)

Specifies the duration after creation that a copied recovery point is moved to cold storage.