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

Schedule

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

[Snapshot and AMI policies only] Specifies a schedule for a snapshot or AMI lifecycle policy.

interface Schedule {
ArchiveRule?: ArchiveRule | null;
CopyTags?: boolean | null;
CreateRule?: CreateRule | null;
CrossRegionCopyRules?: CrossRegionCopyRule[] | null;
DeprecateRule?: DeprecateRule | null;
FastRestoreRule?: FastRestoreRule | null;
Name?: string | null;
RetainRule?: RetainRule | null;
ShareRules?: ShareRule[] | null;
TagsToAdd?: Tag[] | null;
VariableTags?: Tag[] | null;
}

§Properties

§
ArchiveRule?: ArchiveRule | null
[src]

[Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.

For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.

§
CopyTags?: boolean | null
[src]

Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.

§
CreateRule?: CreateRule | null
[src]

The creation rule.

§
CrossRegionCopyRules?: CrossRegionCopyRule[] | null
[src]

Specifies a rule for copying snapshots or AMIs across regions.

Note: You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.

§
DeprecateRule?: DeprecateRule | null
[src]

[AMI policies only] The AMI deprecation rule for the schedule.

§
FastRestoreRule?: FastRestoreRule | null
[src]

[Snapshot policies only] The rule for enabling fast snapshot restore.

§
Name?: string | null
[src]

The name of the schedule.

§
RetainRule?: RetainRule | null
[src]

The retention rule for snapshots or AMIs created by the policy.

§
ShareRules?: ShareRule[] | null
[src]

[Snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.

§
TagsToAdd?: Tag[] | null
[src]

The tags to apply to policy-created resources. These user-defined tags are in addition to the Amazon Web Services-added lifecycle tags.

§
VariableTags?: Tag[] | null
[src]

[AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id) or $(timestamp). Variable tags are only valid for EBS Snapshot Management – Instance policies.