AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

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

{ "IamRoleArn" : String, "ListOfTags" : [ ConditionResourceType, ... ], "Resources" : [ String, ... ], "SelectionName" : String }

Properties

IamRoleArn

The ARN of the IAM role that AWS Backup uses to authenticate when restoring the target resource; for example, arn:aws:iam::123456789012:role/S3Access.

Required: Yes

Type: String

Update requires: No interruption

ListOfTags

An array of conditions used to specify a set of resources to assign to a backup plan; for example, "StringEquals": {"ec2:ResourceTag/Department": "accounting".

Required: No

Type: List of ConditionResourceType

Update requires: No interruption

Resources

An array of strings that either contain Amazon Resource Names (ARNs) or match patterns such as "arn:aws:ec2:us-east-1:123456789012:volume/*" of resources to assign to a backup plan.

Required: No

Type: List of String

Update requires: No interruption

SelectionName

The display name of a resource selection document.

Required: Yes

Type: String

Update requires: No interruption

On this page: