简体   繁体   中英

AWS CloudFormation: Configuring replication for an existing S3 bucket

I have an existing S3 bucket that I cannot delete/recreate (this bucket is not tracked in an existing CloudFormation stack; it was created manually).

I'd like to use CloudFormation to add a replication configuration to the bucket (replicating objects to another bucket).

I see in the CloudFormation documentation that you can specify the replication configuration when you create a new bucket.

Is there any way, though, to use CloudFormation to set a replication configuration on a bucket that already exists?

You have to import your bucket to CloudFormation (CFN) before you can manage it using CFN. Once you do this, you will be able to setup replication for it from CFN.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM