This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Backup::BackupPlan BackupRuleResourceType
Specifies an object containing properties used to schedule a task to back up a selection of resources.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CompletionWindowMinutes" :Number, "CopyActions" :[ CopyActionResourceType, ... ], "EnableContinuousBackup" :Boolean, "IndexActions" :[ IndexActionsResourceType, ... ], "Lifecycle" :LifecycleResourceType, "RecoveryPointTags" :{, "RuleName" :Key:Value, ...}String, "ScheduleExpression" :String, "ScheduleExpressionTimezone" :String, "StartWindowMinutes" :Number, "TargetBackupVault" :String}
YAML
CompletionWindowMinutes:NumberCopyActions:- CopyActionResourceTypeEnableContinuousBackup:BooleanIndexActions:- IndexActionsResourceTypeLifecycle:LifecycleResourceTypeRecoveryPointTags:RuleName:Key:ValueStringScheduleExpression:StringScheduleExpressionTimezone:StringStartWindowMinutes:NumberTargetBackupVault:String
Properties
- CompletionWindowMinutes
- 
                    A value in minutes after a backup job is successfully started before it must be completed or it is canceled by Amazon Backup. Required: No Type: Number Update requires: No interruption 
- CopyActions
- 
                    An array of CopyAction objects, which contains the details of the copy operation. Required: No Type: Array of CopyActionResourceType Update requires: No interruption 
- EnableContinuousBackup
- 
                    Enables continuous backup and point-in-time restores (PITR). Required: No Type: Boolean Update requires: No interruption 
- IndexActions
- 
                    There can up to one IndexAction in each BackupRule, as each backup can have 0 or 1 backup index associated with it. Within the array is ResourceTypes. Only 1 resource type will be accepted for each BackupRule. Valid values: - 
                            EBSfor Amazon Elastic Block Store
- 
                            S3for Amazon Simple Storage Service (Amazon S3)
 Required: No Type: Array of IndexActionsResourceType Update requires: No interruption 
- 
                            
- Lifecycle
- 
                    The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Amazon Backup transitions and expires backups automatically according to the lifecycle that you define. Required: No Type: LifecycleResourceType Update requires: No interruption 
- 
                    The tags to assign to the resources. Required: No Type: Object of String Pattern: ^.{1,128}$Update requires: No interruption 
- RuleName
- 
                    A display name for a backup rule. Required: Yes Type: String Update requires: No interruption 
- ScheduleExpression
- 
                    A CRON expression specifying when Amazon Backup initiates a backup job. Required: No Type: String Update requires: No interruption 
- ScheduleExpressionTimezone
- 
                    This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone. Required: No Type: String Update requires: No interruption 
- StartWindowMinutes
- 
                    An optional value that specifies a period of time in minutes after a backup is scheduled before a job is canceled if it doesn't start successfully. If this value is included, it must be at least 60 minutes to avoid errors. Required: No Type: Number Update requires: No interruption 
- TargetBackupVault
- 
                    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens. Required: Yes Type: String Update requires: No interruption