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.
Implements
Inherited Members
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
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 |
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
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
Remarks
This value must be at least 90 days after the number of days specified in MoveToColdStorageAfterDays .
MoveToColdStorageAfterDays
The number of days after creation that a recovery point is moved to cold storage.
public double? MoveToColdStorageAfterDays { get; set; }
Property Value
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; }