AWS::Backup::BackupSelection - AWS CloudFormation

AWS::Backup::BackupSelection

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

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

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.

Id

Uniquely identifies the backup selection.

SelectionId

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