Class CfnLifecyclePolicy.FastRestoreRuleProperty
[Custom snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by snapshot policies.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FastRestoreRuleProperty : Object, CfnLifecyclePolicy.IFastRestoreRuleProperty
Syntax (vb)
Public Class FastRestoreRuleProperty
Inherits Object
Implements CfnLifecyclePolicy.IFastRestoreRuleProperty
Remarks
You can enable fast snapshot restore based on either a count or a time interval.
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.DLM;
var fastRestoreRuleProperty = new FastRestoreRuleProperty {
AvailabilityZones = new [] { "availabilityZones" },
Count = 123,
Interval = 123,
IntervalUnit = "intervalUnit"
};
Synopsis
Constructors
FastRestoreRuleProperty() |
Properties
AvailabilityZones | The Availability Zones in which to enable fast snapshot restore. |
Count | The number of snapshots to be enabled with fast snapshot restore. |
Interval | The amount of time to enable fast snapshot restore. |
IntervalUnit | The unit of time for enabling fast snapshot restore. |
Constructors
FastRestoreRuleProperty()
public FastRestoreRuleProperty()
Properties
AvailabilityZones
The Availability Zones in which to enable fast snapshot restore.
public string[] AvailabilityZones { get; set; }
Property Value
System.String[]
Remarks
Count
The number of snapshots to be enabled with fast snapshot restore.
public Nullable<double> Count { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Interval
The amount of time to enable fast snapshot restore.
public Nullable<double> Interval { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
IntervalUnit
The unit of time for enabling fast snapshot restore.
public string IntervalUnit { get; set; }
Property Value
System.String