interface BackupPlanCopyActionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Backup.BackupPlanCopyActionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#BackupPlanCopyActionProps |
![]() | software.amazon.awscdk.services.backup.BackupPlanCopyActionProps |
![]() | aws_cdk.aws_backup.BackupPlanCopyActionProps |
![]() | 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
Name | Type | Description |
---|---|---|
destination | IBackup | Destination Vault for recovery points to be copied into. |
delete | Duration | Specifies the duration after creation that a copied recovery point is deleted from the destination vault. |
move | Duration | Specifies the duration after creation that a copied recovery point is moved to cold storage. |
destinationBackupVault
Type:
IBackup
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.