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
Implements
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LifecycleResourceTypeProperty : Object, CfnBackupPlan.ILifecycleResourceTypeProperty
Syntax (vb)
Public Class LifecycleResourceTypeProperty
Inherits Object
Implements CfnBackupPlan.ILifecycleResourceTypeProperty
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 lifecycleResourceTypeProperty = new LifecycleResourceTypeProperty {
DeleteAfterDays = 123,
MoveToColdStorageAfterDays = 123,
OptInToArchiveForSupportedResources = false
};
Synopsis
Constructors
LifecycleResourceTypeProperty() |
Properties
DeleteAfterDays | Specifies the number of days after creation that a recovery point is deleted. |
MoveToColdStorageAfterDays | Specifies 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()
public LifecycleResourceTypeProperty()
Properties
DeleteAfterDays
Specifies the number of days after creation that a recovery point is deleted.
public Nullable<double> DeleteAfterDays { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Must be greater than MoveToColdStorageAfterDays
.
MoveToColdStorageAfterDays
Specifies the number of days after creation that a recovery point is moved to cold storage.
public Nullable<double> MoveToColdStorageAfterDays { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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
System.Object