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

Lifecycle and Other Bucket Configurations

In addition to lifecycle configurations, you can associate other configurations with your bucket. This section explains how lifecycle configuration relates to other bucket configurations.

Lifecycle and Versioning

You can add lifecycle configurations to unversioned buckets and versioning-enabled buckets. For more information, see Object Versioning.

A versioning-enabled bucket maintains one current object version, and zero or more noncurrent object versions. You can define separate lifecycle rules for current and noncurrent object versions.

For more information, see Lifecycle Configuration Elements. For information about versioning, see Object Versioning.

Lifecycle Configuration on MFA-enabled Buckets

Lifecycle configuration on MFA-enabled buckets is not supported.

Lifecycle and Logging

Amazon S3 lifecycle actions are not captured by CloudTrail object level logging since CloudTrail captures API requests made to external Amazon S3 endpoints whereas Amazon S3 lifecycle actions are performed using internal Amazon S3 endpoints. Amazon S3 server access logs can be enabled in an S3 bucket to capture Amazon S3 lifecycle related actions such as object transition to another storage class and object expiration resulting in permanent deletion or logical deletion. For more information, see Amazon S3 Server Access Logging

If you have logging enabled on your bucket, Amazon S3 server access logs report the results of the following operations:

Operation log Decription


Amazon S3 permanently deletes the object due to the lifecycle expiration action.


Amazon S3 logically deletes the current version and adds a delete marker in a versioning enabled bucket.


Amazon S3 transitions the object to the STANDARD_IA storage class.


Amazon S3 transitions the object to the ONEZONE_IA storage class.


Amazon S3 transitions the object to the Intelligent-Tiering storage class.


Amazon S3 initiates the transition of object to the GLACIER storage class.


Amazon S3 initiates the transition of object to the GLACIER DEEP_ARCHIVE storage class.


Amazon S3 aborts incomplete multipart upload.


Amazon S3 server access log records are generally delivered on a best effort basis and cannot be used for complete accounting of all Amazon S3 requests.

More Info