You can use the following examples as starting points for defining your own ILM rules and policy.
Example 1: ILM rules and policy for object storage
You can use the following example rules and policy as a starting point when defining an ILM policy to meet your object protection and retention requirements.
Example 4: ILM rules and policy for S3 versioned objects
If you have an S3 bucket with versioning enabled, you can manage the noncurrent object versions by including rules in your ILM policy that use Noncurrent time as the Reference Time.