Lifecycle
import type { Lifecycle } from "https://aws-api.deno.dev/v0.3/services/backup.ts?docs=full";
Contains an array of Transition
objects specifying how long in days before a recovery point transitions to cold storage or is deleted.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only Amazon EFS file system backups can be transitioned to cold storage.
interface Lifecycle {
DeleteAfterDays?: number | null;
MoveToColdStorageAfterDays?: number | null;
}