Announcing AWS CloudFormation support for Recycle Bin rules

Posted on: Nov 20, 2024

Today, AWS announces AWS CloudFormation support for Recycle Bin, a data recovery feature that enables restoration of accidentally deleted Amazon EBS Snapshots and EBS-backed AMIs. You can now use Recycle Bin rules as a resource in your AWS CloudFormation templates, stacks, and stack sets.

Using AWS CloudFormation, you can now create, edit, and delete Recycle Bin rules as part of your CloudFormation templates and incorporate Recycle Bin rules into your automated infrastructure deployments. For example, region-level Recycle Bin rules protects all resources of the specified type in the AWS Region in which the rule is created. If you have a template that automates the provisioning of new accounts, you can now add a region-level Recycle Bin rule to it. This ensures that all EBS Snapshots and/or EBS-backed AMIs in those accounts are automatically protected from accidental deletions and stored in the Recycle Bin according to the region-level rule.

This feature is now available in all AWS Commercial Regions and the AWS GovCloud (US) Regions.

To get started using Recycle Bin in AWS CloudFormation, visit the AWS CloudFormation console. Please refer to the AWS CloudFormation user guide for information on using Recycle Bin rules as a resource in your templates, stacks, and stack sets. Learn more about Recycle Bin here.