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

BackupSelection

import type { BackupSelection } from "https://aws-api.deno.dev/v0.3/services/backup.ts?docs=full";

Used to specify a set of resources to a backup plan.

interface BackupSelection {
Conditions?: Conditions | null;
IamRoleArn: string;
ListOfTags?: Condition[] | null;
NotResources?: string[] | null;
Resources?: string[] | null;
SelectionName: string;
}

§Properties

§
Conditions?: Conditions | null
[src]

A list of conditions that you define to assign resources to your backup plans using tags. For example, "StringEquals": {"Department": "accounting". Condition operators are case sensitive.

Conditions differs from ListOfTags as follows:

  • When you specify more than one condition, you only assign the resources that match ALL conditions (using AND logic).
  • Conditions supports StringEquals, StringLike, StringNotEquals, and StringNotLike. ListOfTags only supports StringEquals.
§
IamRoleArn: string
[src]

The ARN of the IAM role that Backup uses to authenticate when backing up the target resource; for example, arn:aws:iam::123456789012:role/S3Access.

§
ListOfTags?: Condition[] | null
[src]

A list of conditions that you define to assign resources to your backup plans using tags. For example, "StringEquals": {"Department": "accounting". Condition operators are case sensitive.

ListOfTags differs from Conditions as follows:

  • When you specify more than one condition, you assign all resources that match AT LEAST ONE condition (using OR logic).
  • ListOfTags only supports StringEquals. Conditions supports StringEquals, StringLike, StringNotEquals, and StringNotLike.
§
NotResources?: string[] | null
[src]

A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards.

If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags.

§
Resources?: string[] | null
[src]

A list of Amazon Resource Names (ARNs) to assign to a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards.

If you need to assign many resources to a backup plan, consider a different resource selection strategy, such as assigning all resources of a resource type or refining your resource selection using tags.

§
SelectionName: string
[src]

The display name of a resource selection document. Must contain 1 to 50 alphanumeric or '-_.' characters.