Class: Aws::ComputeOptimizer::Types::EBSFilter

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

Overview

Note:

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

{
  name: "Finding", # accepts Finding
  values: ["FilterValue"],
}

Describes a filter that returns a more specific list of Amazon Elastic Block Store (Amazon EBS) volume recommendations. Use this filter with the GetEBSVolumeRecommendations action.

You can use LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the filter.

Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized).

Returns:

  • (String)


332
333
334
335
336
337
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 332

class EBSFilter < Struct.new(
  :name,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The value of the filter.

The valid values are Optimized, or NotOptimized.

Returns:

  • (Array<String>)


332
333
334
335
336
337
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 332

class EBSFilter < Struct.new(
  :name,
  :values)
  SENSITIVE = []
  include Aws::Structure
end