Show / Hide Table of Contents

Class CfnBackupPlan.LifecycleResourceTypeProperty

Specifies an object containing an array of Transition objects that determine how long in days before a recovery point transitions to cold storage or is deleted.

Inheritance
object
CfnBackupPlan.LifecycleResourceTypeProperty
Implements
CfnBackupPlan.ILifecycleResourceTypeProperty
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.LifecycleResourceTypeProperty : CfnBackupPlan.ILifecycleResourceTypeProperty
Syntax (vb)
Public Class CfnBackupPlan.LifecycleResourceTypeProperty Implements CfnBackupPlan.ILifecycleResourceTypeProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.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 lifecycleResourceTypeProperty = new LifecycleResourceTypeProperty {
                 DeleteAfterDays = 123,
                 MoveToColdStorageAfterDays = 123,
                 OptInToArchiveForSupportedResources = false
             };

Synopsis

Constructors

LifecycleResourceTypeProperty()

Specifies an object containing an array of Transition objects that determine how long in days before a recovery point transitions to cold storage or is deleted.

Properties

DeleteAfterDays

The number of days after creation that a recovery point is deleted.

MoveToColdStorageAfterDays

The number of days after creation that a recovery point is moved to cold storage.

OptInToArchiveForSupportedResources

If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.

Constructors

LifecycleResourceTypeProperty()

Specifies an object containing an array of Transition objects that determine how long in days before a recovery point transitions to cold storage or is deleted.

public LifecycleResourceTypeProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.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 lifecycleResourceTypeProperty = new LifecycleResourceTypeProperty {
                 DeleteAfterDays = 123,
                 MoveToColdStorageAfterDays = 123,
                 OptInToArchiveForSupportedResources = false
             };

Properties

DeleteAfterDays

The number of days after creation that a recovery point is deleted.

public double? DeleteAfterDays { get; set; }
Property Value

double?

Remarks

This value must be at least 90 days after the number of days specified in MoveToColdStorageAfterDays .

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

MoveToColdStorageAfterDays

The number of days after creation that a recovery point is moved to cold storage.

public double? MoveToColdStorageAfterDays { get; set; }
Property Value

double?

Remarks

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

OptInToArchiveForSupportedResources

If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.

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

object

Remarks

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

Type union: either bool or IResolvable

Implements

CfnBackupPlan.ILifecycleResourceTypeProperty
Back to top Generated by DocFX