interface FastRestoreRuleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DLM.CfnLifecyclePolicy.FastRestoreRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_FastRestoreRuleProperty |
Java | software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.FastRestoreRuleProperty |
Python | aws_cdk.aws_dlm.CfnLifecyclePolicy.FastRestoreRuleProperty |
TypeScript | aws-cdk-lib » aws_dlm » CfnLifecyclePolicy » FastRestoreRuleProperty |
[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 { aws_dlm as dlm } from 'aws-cdk-lib';
const fastRestoreRuleProperty: dlm.CfnLifecyclePolicy.FastRestoreRuleProperty = {
availabilityZones: ['availabilityZones'],
count: 123,
interval: 123,
intervalUnit: 'intervalUnit',
};
Properties
Name | Type | Description |
---|---|---|
availability | string[] | The Availability Zones in which to enable fast snapshot restore. |
count? | number | The number of snapshots to be enabled with fast snapshot restore. |
interval? | number | The amount of time to enable fast snapshot restore. |
interval | string | The unit of time for enabling fast snapshot restore. |
availabilityZones?
Type:
string[]
(optional)
The Availability Zones in which to enable fast snapshot restore.
count?
Type:
number
(optional)
The number of snapshots to be enabled with fast snapshot restore.
interval?
Type:
number
(optional)
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.
intervalUnit?
Type:
string
(optional)
The unit of time for enabling fast snapshot restore.