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

CreateRuleRequest

import type { CreateRuleRequest } from "https://aws-api.deno.dev/v0.3/services/rbin.ts?docs=full";
interface CreateRuleRequest {
Description?: string | null;
ResourceTags?: ResourceTag[] | null;
ResourceType: ResourceType;
RetentionPeriod: RetentionPeriod;
Tags?: Tag[] | null;
}

§Properties

§
Description?: string | null
[src]

A brief description for the retention rule.

§
ResourceTags?: ResourceTag[] | null
[src]

Information about the resource tags to use to identify resources that are to be retained by the retention rule. The retention rule retains only deleted snapshots that have one or more of the specified tag key and value pairs. If a snapshot is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

You can add the same tag key and value pair to a maximum or five retention rules.

§
ResourceType: ResourceType
[src]

The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots are supported.

§
RetentionPeriod: RetentionPeriod
[src]

Information about the retention period for which the retention rule is to retain resources.

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

Information about the tags to assign to the retention rule.