Class CfnBackupPlanPropsMixin.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.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnBackupPlanPropsMixin.LifecycleResourceTypeProperty : CfnBackupPlanPropsMixin.ILifecycleResourceTypeProperty
Syntax (vb)
Public Class CfnBackupPlanPropsMixin.LifecycleResourceTypeProperty Implements CfnBackupPlanPropsMixin.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.Mixins.Preview.AWS.Backup.Mixins;
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.Mixins.Preview.AWS.Backup.Mixins;
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; }