Question: How do I create Amazon S3 lifecycle configuration rules for noncurrent object versions?

I want to create Amazon Simple Storage Service (Amazon S3) lifecycle configuration rules for noncurrent object versions.

ResolutionLifecycle rule for transitioning noncurrent objectsTo transition noncurrent versions, Amazon S3 uses the NoncurrentVersionTransition action. Use this action to specify when Amazon S3 must transition objects to the specified storage class.Follow these steps to create a lifecycle rule for transitioning noncurrent object versions:Open the Amazon S3 console.In the list of buckets, choose the bucket that you want to create the lifecycle rule for.Choose the Management tab, and then choose Create lifecycle rule.For Lifecycle rule name, enter a name for your rule.For Choose a rule scope:To apply this lifecycle rule for a particular prefix, select Limit the scope of this rule using one or more filters.To apply the lifecycle rule for the whole bucket, select Apply to all objects in the bucket.If you selected Limit the scope of this rule using one or more filters, then enter the prefix name.If you selected Apply to all objects in the bucket, then select I acknowledge that this rule will apply to all objects in the bucket.Under Lifecycle rule actions, select Move noncurrent versions of objects between storage classes to create a lifecycle rule.In the Transition noncurrent versions of objects between storage classes field:For Choose storage class transitions, choose the desired storage class.For Days after objects become noncurrent, enter the number of days that the object can be noncurrent before S3 transitions the object version.For Number of newer versions to retain, select the number of versions that you want to retain in the storage class.Choose Create rule.If the rule doesn't contain any errors, Amazon S3 turns it on. You can see the rule on the Management tab under Lifecycle rules.Lifecycle rule for expiration of noncurrent objectsTo delete noncurrent versions, Amazon S3 uses the NoncurrentVersionExpiration action. Use this action to specify when Amazon S3 must permanently delete noncurrent versions of objects. These deleted objects can't be recovered.Follow these steps to create a lifecycle rule for expiration of noncurrent object versions:Open the Amazon S3 console.In the list of buckets, choose the bucket that you want to create the lifecycle rule for.Choose the Management tab, and then choose Create lifecycle rule.For Lifecycle rule name, enter a name for your rule.For Choose a rule scope:To apply this lifecycle rule for a particular prefix, select Limit the scope of this rule using one or more filters.To apply the lifecycle rule for the whole bucket, select Apply to all objects in the bucket.If you selected Limit the scope of this rule using one or more filters, enter the prefix name.If you selected Apply to all objects in the bucket, select I acknowledge that this rule will apply to all objects in the bucket.Under Lifecycle rule actions, select to create a lifecycle rule.In the Permanently delete noncurrent versions of objects field:For Days after objects become noncurrent, enter the number of days that the object can be noncurrent before S3 permanently deletes them.For Number of newer versions to retain, select the number of versions that you want to retain in the storage class.Choose Create rule.If the rule doesn't contain any errors, Amazon S3 turns it on. You can see the rule on the Management tab under Lifecycle rules.