Class: Aws::ComputeOptimizer::Types::RecommendedOptionProjectedMetric

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

Overview

Describes a projected utilization metric of a recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#projected_metricsArray<Types::ProjectedMetric>

An array of objects that describe a projected utilization metric.

Returns:



2875
2876
2877
2878
2879
2880
2881
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2875

class RecommendedOptionProjectedMetric < Struct.new(
  :recommended_instance_type,
  :rank,
  :projected_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#rankInteger

The rank of the recommendation option projected metric.

The top recommendation option is ranked as 1.

The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

Returns:

  • (Integer)


2875
2876
2877
2878
2879
2880
2881
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2875

class RecommendedOptionProjectedMetric < Struct.new(
  :recommended_instance_type,
  :rank,
  :projected_metrics)
  SENSITIVE = []
  include Aws::Structure
end

The recommended instance type.

Returns:

  • (String)


2875
2876
2877
2878
2879
2880
2881
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2875

class RecommendedOptionProjectedMetric < Struct.new(
  :recommended_instance_type,
  :rank,
  :projected_metrics)
  SENSITIVE = []
  include Aws::Structure
end