This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Backup::BackupSelection BackupSelectionResourceType
Specifies an object containing properties used to assign a set of resources to a backup plan.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Conditions" :Conditions, "IamRoleArn" :String, "ListOfTags" :[ ConditionResourceType, ... ], "NotResources" :[ String, ... ], "Resources" :[ String, ... ], "SelectionName" :String}
YAML
Conditions:ConditionsIamRoleArn:StringListOfTags:- ConditionResourceTypeNotResources:- StringResources:- StringSelectionName:String
Properties
- Conditions
- 
                    A list of conditions that you define to assign resources to your backup plans using tags. For example, "StringEquals": { "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue": "true" },. Condition operators are case sensitive.Conditionsdiffers fromListOfTagsas follows:- 
                            When you specify more than one condition, you only assign the resources that match ALL conditions (using AND logic). 
- 
                            ConditionssupportsStringEquals,StringLike,StringNotEquals, andStringNotLike.ListOfTagsonly supportsStringEquals.
 Required: No Type: Conditions Update requires: Replacement 
- 
                            
- IamRoleArn
- 
                    The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource; for example, arn:aws:iam::123456789012:role/S3Access.Required: Yes Type: String Update requires: Replacement 
- 
                    A list of conditions that you define to assign resources to your backup plans using tags. For example, "StringEquals": { "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue": "true" },. Condition operators are case sensitive.ListOfTagsdiffers fromConditionsas follows:- 
                            When you specify more than one condition, you assign all resources that match AT LEAST ONE condition (using OR logic). 
- 
                            ListOfTagsonly supportsStringEquals.ConditionssupportsStringEquals,StringLike,StringNotEquals, andStringNotLike.
 Required: No Type: Array of ConditionResourceType Update requires: Replacement 
- 
                            
- NotResources
- 
                    A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags. Required: No Type: Array of String Update requires: Replacement 
- Resources
- 
                    An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan. Required: No Type: Array of String Update requires: Replacement 
- SelectionName
- 
                    The display name of a resource selection document. Required: Yes Type: String Update requires: Replacement