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

Class: Aws::ApplicationDiscoveryService::Types::Filter

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

Overview

Note:

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

{
  name: "String", # required
  values: ["FilterValue"], # required
  condition: "Condition", # required
}

A filter that can use conditional operators.

For more information about filters, see Querying Discovered Configuration Items.

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.

Returns:

  • (String)


818
819
820
821
822
823
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 818

class Filter < Struct.new(
  :name,
  :values,
  :condition)
  include Aws::Structure
end

#nameString

The name of the filter.

Returns:

  • (String)


818
819
820
821
822
823
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 818

class Filter < Struct.new(
  :name,
  :values,
  :condition)
  include Aws::Structure
end

#valuesArray<String>

A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value.

Returns:

  • (Array<String>)


818
819
820
821
822
823
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 818

class Filter < Struct.new(
  :name,
  :values,
  :condition)
  include Aws::Structure
end