AWS::Backup::BackupSelection - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Specifies a set of resources to assign to a backup plan.

For a sample Amazon CloudFormation template, see the Amazon Backup Developer Guide.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Type" : "AWS::Backup::BackupSelection", "Properties" : { "BackupPlanId" : String, "BackupSelection" : BackupSelectionResourceType } }


Type: AWS::Backup::BackupSelection Properties: BackupPlanId: String BackupSelection: BackupSelectionResourceType



Uniquely identifies a backup plan.

Required: Yes

Type: String

Update requires: Replacement


Specifies the body of a request to assign a set of resources to a backup plan.

It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the Amazon service the resource belongs to, and an optional array of tags used to identify a set of resources.

Required: Yes

Type: BackupSelectionResourceType

Update requires: Replacement

Return values


When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns BackupSelectionId.


The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.


Uniquely identifies a backup plan.


Uniquely identifies the backup selection.


Uniquely identifies a request to assign a set of resources to a backup plan.