Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleExamples...


Panel
titleExample 1 - default lifecycle that enables both multi-part cleanup and expired version

pshell> lifecycle my-bucket +mv


Panel
titleExample 1 - a basic bucket lifecycle that cleans up failed multi-part uploads after 7 days.


Code Block
pshell> lifecycle mybucketmy-bucket +m 7



Panel
titleExample 2 - a basic bucket lifecycle that turns on versioning and deletes expired non-current objects after 30 days.


Code Block
pshell> lifecycle mybucketmy-bucket +v 30