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

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

Syntax

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

JSON

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

YAML

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

Properties

BackupPlanId

Uniquely identifies a backup plan.

Required: Yes

Type: String

Update requires: Replacement

BackupSelection

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 AWS 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

Ref

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

Fn::GetAtt

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.

BackupPlanId

Uniquely identifies a backup plan.

SelectionId

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