Class: Aws::Backup::Types::Conditions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

Note:

When making an API call, you may pass Conditions data as a hash:

{
  string_equals: [
    {
      condition_key: "ConditionKey",
      condition_value: "ConditionValue",
    },
  ],
  string_not_equals: [
    {
      condition_key: "ConditionKey",
      condition_value: "ConditionValue",
    },
  ],
  string_like: [
    {
      condition_key: "ConditionKey",
      condition_value: "ConditionValue",
    },
  ],
  string_not_like: [
    {
      condition_key: "ConditionKey",
      condition_value: "ConditionValue",
    },
  ],
}

Contains information about which resources to include or exclude from a backup plan using their tags. Conditions are case sensitive.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#string_equalsArray<Types::ConditionParameter>

Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."

Returns:



1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1131

class Conditions < Struct.new(
  :string_equals,
  :string_not_equals,
  :string_like,
  :string_not_like)
  SENSITIVE = []
  include Aws::Structure
end

#string_likeArray<Types::ConditionParameter>

Filters the values of your tagged resources for matching tag values with the use of a wildcard character () anywhere in the string. For example, "prod" or "rod" matches the tag value "production".

Returns:



1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1131

class Conditions < Struct.new(
  :string_equals,
  :string_not_equals,
  :string_like,
  :string_not_like)
  SENSITIVE = []
  include Aws::Structure
end

#string_not_equalsArray<Types::ConditionParameter>

Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."

Returns:



1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1131

class Conditions < Struct.new(
  :string_equals,
  :string_not_equals,
  :string_like,
  :string_not_like)
  SENSITIVE = []
  include Aws::Structure
end

#string_not_likeArray<Types::ConditionParameter>

Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.

Returns:



1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1131

class Conditions < Struct.new(
  :string_equals,
  :string_not_equals,
  :string_like,
  :string_not_like)
  SENSITIVE = []
  include Aws::Structure
end