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

LifecycleRuleFilter

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

The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have exactly one of Prefix, Tag, or And specified.

interface LifecycleRuleFilter {
ObjectSizeGreaterThan?: number | null;
ObjectSizeLessThan?: number | null;
Prefix?: string | null;
Tag?: Tag | null;
}

§Properties

§
ObjectSizeGreaterThan?: number | null
[src]

Minimum object size to which the rule applies.

§
ObjectSizeLessThan?: number | null
[src]

Maximum object size to which the rule applies.

§
Prefix?: string | null
[src]

Prefix identifying one or more objects to which the rule applies.

! IMPORTANT: ! Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. ! For more information, see XML related object key constraints.

§
Tag?: Tag | null
[src]

This tag must exist in the object's tag set in order for the rule to apply.