mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
af88772a78
From https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions ``` When specifying the number of days in the NoncurrentVersionTransition and NoncurrentVersionExpiration actions in a Lifecycle configuration, note the following: It is the number of days from when the version of the object becomes noncurrent (that is, when the object is overwritten or deleted), that Amazon S3 will perform the action on the specified object or objects. Amazon S3 calculates the time by adding the number of days specified in the rule to the time when the new successor version of the object is created and rounding the resulting time to the next day midnight UTC. For example, in your bucket, suppose that you have a current version of an object that was created at 1/1/2014 10:30 AM UTC. If the new version of the object that replaces the current version is created at 1/15/2014 10:30 AM UTC, and you specify 3 days in a transition rule, the transition date of the object is calculated as 1/19/2014 00:00 UTC. ``` |
||
---|---|---|
.. | ||
action_string.go | ||
and.go | ||
error.go | ||
expiration_test.go | ||
expiration.go | ||
filter_test.go | ||
filter.go | ||
lifecycle_test.go | ||
lifecycle.go | ||
noncurrentversion.go | ||
rule_test.go | ||
rule.go | ||
tag.go | ||
transition.go |