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
System.Object
CfnBackupPlan.LifecycleResourceTypeProperty
Implements
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.AWS.Backup.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
};
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. |
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>