This CloudFormation template creates a custom backup plan with a scheduled backup rule (monthly at 5AM) and resource selection based on specified tags. The backup plan includes lifecycle policies for deleting backups after 120 days and moving them to cold storage after 30 days. This template assumes that the backup service-linked role already exists in the account.

BackupPlan
AWS::Backup::BackupPlan


BackupPlan *
AdvancedBackupSettings
BackupPlanRule *
CopyActions
Lifecycle
Lifecycle

BackupResourceSelection1
AWS::Backup::BackupSelection


BackupSelection *
Conditions
StringEquals
StringLike
StringNotEquals
StringNotLike
ListOfTags

NotResources

Resources

CloudFormation Template

Share Template