Amazon Simple Storage Service
API Reference (API Version 2006-03-01)

LifecycleRule

Contents

AbortIncompleteMultipartUpload

Specifies the days since the initiation of an Incomplete Multipart Upload that Lifecycle will wait before permanently removing all parts of the upload.

Type: AbortIncompleteMultipartUpload object

Required: No

Expiration

Type: LifecycleExpiration object

Required: No

Filter

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.

Type: LifecycleRuleFilter object

Required: No

ID

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

Type: String

Required: No

NoncurrentVersionExpiration

Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.

Type: NoncurrentVersionExpiration object

Required: No

NoncurrentVersionTransitions

Type: Array of NoncurrentVersionTransition objects

Required: No

Prefix

Prefix identifying one or more objects to which the rule applies. This is deprecated; use Filter instead.

Type: String

Required: No

Status

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

Type: String

Valid Values: Enabled | Disabled

Required: Yes

Transitions

Type: Array of Transition objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: