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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBackupPlan.LifecycleResourceTypeProperty
static final class
An implementation forCfnBackupPlan.LifecycleResourceTypeProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeleteAfterDays
Specifies the number of days after creation that a recovery point is deleted.Must be greater than
MoveToColdStorageAfterDays
.- See Also:
-
getMoveToColdStorageAfterDays
Specifies the number of days after creation that a recovery point is moved to cold storage.- See Also:
-
getOptInToArchiveForSupportedResources
Optional Boolean.If this is true, this setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
- See Also:
-
builder
-