Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PITPolicyRule

import type { PITPolicyRule } from "https://aws-api.deno.dev/v0.4/services/drs.ts?docs=full";

A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.

interface PITPolicyRule {
enabled?: boolean | null;
interval: number;
retentionDuration: number;
ruleID?: number | null;
}

§Properties

§
enabled?: boolean | null
[src]

Whether this rule is enabled or not.

§
interval: number
[src]

How often, in the chosen units, a snapshot should be taken.

§
retentionDuration: number
[src]

The duration to retain a snapshot for, in the chosen units.

§
ruleID?: number | null
[src]

The ID of the rule.

§

The units used to measure the interval and retentionDuration.