AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

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

Overview

Note:

When passing Filter as input to an Aws::Client method, you can use a vanilla 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 in the AWS Application Discovery Service User Guide.

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)

    A conditional operator.

#nameString

The name of the filter.

Returns:

  • (String)

    The name of the filter.

#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>)

    A string value on which to filter.