interface CopyActionResourceTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins.CfnBackupPlanPropsMixin.CopyActionResourceTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbackup/mixins#CfnBackupPlanPropsMixin_CopyActionResourceTypeProperty |
Java | software.amazon.awscdk.mixins.preview.services.backup.mixins.CfnBackupPlanPropsMixin.CopyActionResourceTypeProperty |
Python | aws_cdk.mixins_preview.aws_backup.mixins.CfnBackupPlanPropsMixin.CopyActionResourceTypeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_backup » mixins » CfnBackupPlanPropsMixin » CopyActionResourceTypeProperty |
Copies backups created by a backup rule to another vault.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as backup_mixins } from '@aws-cdk/mixins-preview/aws-backup';
const copyActionResourceTypeProperty: backup_mixins.CfnBackupPlanPropsMixin.CopyActionResourceTypeProperty = {
destinationBackupVaultArn: 'destinationBackupVaultArn',
lifecycle: {
deleteAfterDays: 123,
moveToColdStorageAfterDays: 123,
optInToArchiveForSupportedResources: false,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. |
| lifecycle? | IResolvable | Lifecycle | Defines when a protected resource is transitioned to cold storage and when it expires. |
destinationBackupVaultArn?
Type:
string
(optional)
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
lifecycle?
Type:
IResolvable | Lifecycle
(optional)
Defines when a protected resource is transitioned to cold storage and when it expires.
AWS Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, AWS Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.

.NET
Go
Java
Python
TypeScript