aws-cdk-lib.aws_dlm.CfnLifecyclePolicy.FastRestoreRuleProperty

interface FastRestoreRuleProperty

LanguageType name
.NETAmazon.CDK.AWS.DLM.CfnLifecyclePolicy.FastRestoreRuleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_FastRestoreRuleProperty
Javasoftware.amazon.awscdk.services.dlm.CfnLifecyclePolicy.FastRestoreRuleProperty
Pythonaws_cdk.aws_dlm.CfnLifecyclePolicy.FastRestoreRuleProperty
TypeScript aws-cdk-lib » aws_dlm » CfnLifecyclePolicy » FastRestoreRuleProperty

[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

NameTypeDescription
availabilityZones?string[]The Availability Zones in which to enable fast snapshot restore.
count?numberThe number of snapshots to be enabled with fast snapshot restore.
interval?numberThe amount of time to enable fast snapshot restore.
intervalUnit?stringThe 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.