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 ConditionResourceType

Specifies an object that contains an array of triplets made up of a condition type (such as StringEquals), a key, and a value. Conditions are used to filter resources in a selection that is assigned to a backup plan.

Syntax

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

JSON

{ "ConditionKey" : String, "ConditionType" : String, "ConditionValue" : String }

YAML

ConditionKey: String ConditionType: String ConditionValue: String

Properties

ConditionKey

The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", "ec2:ResourceTag/Department" is the key.

Required: Yes

Type: String

Update requires: No interruption

ConditionType

An operation, such as StringEquals, that is applied to a key-value pair used to filter resources in a selection.

Required: Yes

Type: String

Update requires: No interruption

ConditionValue

The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", "accounting" is the value.

Required: Yes

Type: String

Update requires: No interruption

On this page: