Cybex
Cybex

Reputation: 551

On delete move S3 bucket objects to Glacier bucket using lifecycle rules defined in Cloudformation

Is it possible to configure using lifecycle rules in Cloudformation template to move all S3 bucket objects to another bucket and change their storage class to Glacier?

Upvotes: 0

Views: 434

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269470

AWS CloudFormation can be used to configure Amazon S3 Lifecycle Rules (AWS::S3::Bucket LifecycleConfiguration - AWS CloudFormation).

However, Lifecycle Rules do not "move" objects. Instead, they change the Storage Class of existing objects.

You would need to find another method for identifying and moving objects after a period of time.

Upvotes: 1

Related Questions