You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ComputeOptimizer::Types::Filter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::Filter
- Defined in:
- (unknown)
Overview
When passing Filter as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "Finding", # accepts Finding, RecommendationSourceType
values: ["FilterValue"],
}
Describes a filter that returns a more specific list of recommendations.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the filter.
-
#values ⇒ Array<String>
The value of the filter.
Instance Attribute Details
#name ⇒ String
The name of the filter.
Specify Finding to return recommendations with a specific findings
classification (e.g., Overprovisioned).
Specify RecommendationSourceType to return recommendations of a
specific resource type (e.g., AutoScalingGroup).
Possible values:
- Finding
- RecommendationSourceType
#values ⇒ Array<String>
The value of the filter.
If you specify the name parameter as Finding, and you request
recommendations for an instance, then the valid values are
Underprovisioned, Overprovisioned, NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you request
recommendations for an Auto Scaling group, then the valid values are
Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then
the valid values are Ec2Instance, or AutoScalingGroup.