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

LifecycleRule

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

The container for the Outposts bucket lifecycle rule.

interface LifecycleRule {
AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload | null;
Expiration?: LifecycleExpiration | null;
Filter?: LifecycleRuleFilter | null;
ID?: string | null;
NoncurrentVersionExpiration?: NoncurrentVersionExpiration | null;
NoncurrentVersionTransitions?: NoncurrentVersionTransition[] | null;
Transitions?: Transition[] | null;
}

§Properties

§
AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload | null
[src]

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 waits before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy in the Amazon S3 User Guide.

§
Expiration?: LifecycleExpiration | null
[src]

Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.

§
Filter?: LifecycleRuleFilter | null
[src]

The container for the filter of lifecycle rule.

§
ID?: string | null
[src]

Unique identifier for the rule. The value cannot be longer than 255 characters.

§
NoncurrentVersionExpiration?: NoncurrentVersionExpiration | null
[src]

The noncurrent version expiration of the lifecycle rule.

§
NoncurrentVersionTransitions?: NoncurrentVersionTransition[] | null
[src]

Specifies the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a specific storage class at a set period in the object's lifetime.

Note: This is not supported by Amazon S3 on Outposts buckets.

§

If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.

§
Transitions?: Transition[] | null
[src]

Specifies when an Amazon S3 object transitions to a specified storage class.

Note: This is not supported by Amazon S3 on Outposts buckets.