Menu
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 is section explains how lifecycle configuration relates to other bucket configurations.

Lifecycle and Versioning

You can add lifecycle configurations to nonversioned 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 and MFA Enabled Buckets

Lifecycle configuration on MFA-enabled buckets is not supported.

Lifecycle and Logging

If you have logging enabled on your bucket, Amazon S3 reports the results of expiration action as follows:

  • If the lifecycle expiration action results in Amazon S3 permanently removing the object, Amazon S3 reports it as an S3.EXPIRE.OBJECT operation in the log record.

  • For a versioning-enabled bucket, if the lifecycle expiration action results in a logical deletion of current version, in which Amazon S3 adds a delete marker, Amazon S3 reports the logical deletion as an S3.CREATE.DELETEMARKER operation in the log record. For more information, see Object Versioning.

  • When Amazon S3 transitions object to the GLACIER storage class it reports it as operation S3.TRANSITION.OBJECT in the log record to indicate it has initiated the operation. When it is transitioned to the STANDARD_IA storage class, it is reported as S3.TRANSITION_SIA.OBJECT.

Related Topics