Class: Aws::ComputeOptimizer::Types::RecommendationPreferences

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 RecommendationPreferences data as a hash:

{
  cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
}

Describes preferences for recommendations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_vendor_architecturesArray<String>

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Returns:

  • (Array<String>)


2789
2790
2791
2792
2793
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2789

class RecommendationPreferences < Struct.new(
  :cpu_vendor_architectures)
  SENSITIVE = []
  include Aws::Structure
end