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
- Struct
- Aws::ApplicationDiscoveryService::Types::Filter
- Defined in:
- (unknown)
Overview
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
-
#condition ⇒ String
A conditional operator.
-
#name ⇒ String
The name of the filter.
-
#values ⇒ Array<String>
A string value on which to filter.
Instance Attribute Details
#condition ⇒ String
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.
#name ⇒ String
The name of the filter.
#values ⇒ Array<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.