Interface CfnBackupPlan.LifecycleResourceTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBackupPlan.LifecycleResourceTypeProperty.Jsii$Proxy
- Enclosing class:
CfnBackupPlan
@Stability(Stable)
public static interface CfnBackupPlan.LifecycleResourceTypeProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.backup.*; LifecycleResourceTypeProperty lifecycleResourceTypeProperty = LifecycleResourceTypeProperty.builder() .deleteAfterDays(123) .moveToColdStorageAfterDays(123) .optInToArchiveForSupportedResources(false) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBackupPlan.LifecycleResourceTypeProperty
static final class
An implementation forCfnBackupPlan.LifecycleResourceTypeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The number of days after creation that a recovery point is deleted.default Number
The number of days after creation that a recovery point is moved to cold storage.default Object
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeleteAfterDays
The number of days after creation that a recovery point is deleted.This value must be at least 90 days after the number of days specified in
MoveToColdStorageAfterDays
.- See Also:
-
getMoveToColdStorageAfterDays
The number of days after creation that a recovery point is moved to cold storage.- See Also:
-
getOptInToArchiveForSupportedResources
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.- See Also:
-
builder
-