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
- Struct
- Aws::Backup::Types::Condition
 
- Defined in:
- (unknown)
Overview
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
- 
  
    
      #condition_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The key in a key-value pair. 
- 
  
    
      #condition_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An operation, such as StringEquals, that is applied to a key-value pair used to filter resources in a selection.
- 
  
    
      #condition_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value in a key-value pair. 
Instance Attribute Details
#condition_key ⇒ String
The key in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.
#condition_type ⇒ String
An operation, such as StringEquals, that is applied to a key-value
pair used to filter resources in a selection. 
Possible values:
- STRINGEQUALS
#condition_value ⇒ String
The value in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting", "accounting" is the
value.