Show / Hide Table of Contents

Class CfnBackupPlan.CopyActionResourceTypeProperty

Copies backups created by a backup rule to another vault.

Inheritance
object
CfnBackupPlan.CopyActionResourceTypeProperty
Implements
CfnBackupPlan.ICopyActionResourceTypeProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBackupPlan.CopyActionResourceTypeProperty : CfnBackupPlan.ICopyActionResourceTypeProperty
Syntax (vb)
Public Class CfnBackupPlan.CopyActionResourceTypeProperty Implements CfnBackupPlan.ICopyActionResourceTypeProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-copyactionresourcetype.html

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,
                     OptInToArchiveForSupportedResources = false
                 }
             };

Synopsis

Constructors

CopyActionResourceTypeProperty()

Copies backups created by a backup rule to another vault.

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()

Copies backups created by a backup rule to another vault.

public CopyActionResourceTypeProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-copyactionresourcetype.html

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,
                     OptInToArchiveForSupportedResources = false
                 }
             };

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

string

Remarks

For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-copyactionresourcetype.html#cfn-backup-backupplan-copyactionresourcetype-destinationbackupvaultarn

Lifecycle

Defines when a protected resource is transitioned to cold storage and when it expires.

public object? Lifecycle { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-copyactionresourcetype.html#cfn-backup-backupplan-copyactionresourcetype-lifecycle

Type union: either IResolvable or CfnBackupPlan.ILifecycleResourceTypeProperty

Implements

CfnBackupPlan.ICopyActionResourceTypeProperty
Back to top Generated by DocFX