ILM policy for example 4: S3 versioned objects

If you want to manage older versions of an object differently than the current version, rules that use Noncurrent time as the Reference Time must appear in the ILM policy before rules that apply to the current object version.

An ILM policy for S3 versioned objects might include ILM rules such as the following:

ILM policy for example 4

When you simulate the example policy, you would expect test objects to be evaluated as follows: