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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)

    The name of the filter.

#valuesArray<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.

Returns:

  • (Array<String>)

    The value of the filter.