Interface CfnLifecyclePolicy.FastRestoreRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicy.FastRestoreRuleProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicy
@Stability(Stable)
public static interface CfnLifecyclePolicy.FastRestoreRuleProperty
extends software.amazon.jsii.JsiiSerializable
[Custom snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by snapshot policies.
You can enable fast snapshot restore based on either a count or a time interval.
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.dlm.*;
FastRestoreRuleProperty fastRestoreRuleProperty = FastRestoreRuleProperty.builder()
.availabilityZones(List.of("availabilityZones"))
.count(123)
.interval(123)
.intervalUnit("intervalUnit")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicy.FastRestoreRulePropertystatic final classAn implementation forCfnLifecyclePolicy.FastRestoreRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Availability Zones in which to enable fast snapshot restore.default NumbergetCount()The number of snapshots to be enabled with fast snapshot restore.default NumberThe amount of time to enable fast snapshot restore.default StringThe unit of time for enabling fast snapshot restore.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAvailabilityZones
The Availability Zones in which to enable fast snapshot restore.- See Also:
-
getCount
The number of snapshots to be enabled with fast snapshot restore.- See Also:
-
getInterval
The amount of time to enable fast snapshot restore.The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
- See Also:
-
getIntervalUnit
The unit of time for enabling fast snapshot restore.- See Also:
-
builder
-