You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Backup::Types::Condition

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Condition as input to an Aws::Client method, you can use a vanilla Hash:

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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#condition_keyString

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

Returns:

  • (String)

    The key in a key-value pair.

#condition_typeString

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

Possible values:

  • STRINGEQUALS

Returns:

  • (String)

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

#condition_valueString

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

Returns:

  • (String)

    The value in a key-value pair.