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

Rule

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

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

NoncurrentVersionTransition

Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA, ONEZONE_IA, or GLACIER 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 the STANDARD_IA, ONEZONE_IA, or GLACIER storage class at a specific period in the object's lifetime.

Type: NoncurrentVersionTransition object

Required: No

Prefix

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

Type: String

Required: Yes

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

Transition

Type: Transition object

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: