Class CfnBackupPlan.CopyActionResourceTypeProperty
Copies backups created by a backup rule to another vault.
Inheritance
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.AWS.Backup.dll
Syntax (csharp)
public class CopyActionResourceTypeProperty : Object, CfnBackupPlan.ICopyActionResourceTypeProperty
Syntax (vb)
Public Class CopyActionResourceTypeProperty
Inherits Object
Implements CfnBackupPlan.ICopyActionResourceTypeProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Backup;
var copyActionResourceTypeProperty = new CopyActionResourceTypeProperty {
DestinationBackupVaultArn = "destinationBackupVaultArn",
// the properties below are optional
Lifecycle = new LifecycleResourceTypeProperty {
DeleteAfterDays = 123,
MoveToColdStorageAfterDays = 123
}
};
Synopsis
Constructors
CopyActionResourceTypeProperty() |
Properties
DestinationBackupVaultArn | An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. |
Lifecycle | Defines when a protected resource is transitioned to cold storage and when it expires. |
Constructors
CopyActionResourceTypeProperty()
public CopyActionResourceTypeProperty()
Properties
DestinationBackupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
public string DestinationBackupVaultArn { get; set; }
Property Value
System.String
Remarks
For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
Lifecycle
Defines when a protected resource is transitioned to cold storage and when it expires.
public object Lifecycle { get; set; }
Property Value
System.Object
Remarks
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.