# Lifecycle Configuration

* Can tell S3 to transition objects to less expensive storage classes, or archive or delete them.<br>
* Set of rules that define actions that Amazon S3 applies to a group of objects.<br>
* Two types of actions:
  * Transition actions:
    * Define when objects transition to another storage class.<br>
  * Expiration actions:
    * Define when objects expire.
    * S3 deletes expired objects on your behalf.

## Transition:

* S3 Standard storage class to any other storage class.<br>
* Any storage class to the S3 Glacier or S3 Glacier Deep Archive.<br>
* S3 Standard-IA to the S3 Intelligent-Tiering or S3 One Zone-IA.<br>
* S3 Intelligent-Tiering to the S3 One Zone-IA.<br>
* S3 Glacier to S3 Glacier Deep Archive.\ <br>
* To move object:
  * From S3 Standard to S3 Standard-IA or S3 One Zone-IA, object needs to be stored in S3 Standard for at least 30 days.<br>
  * From S3 Standard-IA or S3 One Zone-IA or S3 Intelligent Tiering to S3 Glacier or S3 Glacier Deep Archive, object needs to be stored in S3 Standard-IA or S3 One Zone-IA or S3 Intelligent Tiering

    for at least 30 days.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://karansingh.gitbook.io/aws-saa-c02/advanced-s3-and-athena/lifecycle-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
