class Aws::Backup::Types::Condition

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.

@note When making an API call, you may pass Condition

data as a hash:

    {
      condition_type: "STRINGEQUALS", # required, accepts STRINGEQUALS
      condition_key: "ConditionKey", # required
      condition_value: "ConditionValue", # required
    }

@!attribute [rw] condition_type

An operation, such as `StringEquals`, that is applied to a key-value
pair used to filter resources in a selection.
@return [String]

@!attribute [rw] condition_key

The key in a key-value pair. For example, in
`"ec2:ResourceTag/Department": "accounting"`,
`"ec2:ResourceTag/Department"` is the key.
@return [String]

@!attribute [rw] condition_value

The value in a key-value pair. For example, in
`"ec2:ResourceTag/Department": "accounting"`, `"accounting"` is the
value.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Condition AWS API Documentation

Constants

SENSITIVE