Class: Aws::ComputeOptimizer::Types::RecommendedOptionProjectedMetric
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::RecommendedOptionProjectedMetric
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-computeoptimizer/types.rb
Overview
Describes a projected utilization metric of a recommendation option.
<note markdown=“1”> 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].
</note>
[1]: docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#projected_metrics ⇒ Array<Types::ProjectedMetric>
An array of objects that describe a projected utilization metric.
-
#rank ⇒ Integer
The rank of the recommendation option projected metric.
-
#recommended_instance_type ⇒ String
The recommended instance type.
Instance Attribute Details
#projected_metrics ⇒ Array<Types::ProjectedMetric>
An array of objects that describe a projected utilization metric.
6288 6289 6290 6291 6292 6293 6294 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 6288 class RecommendedOptionProjectedMetric < Struct.new( :recommended_instance_type, :rank, :projected_metrics) SENSITIVE = [] include Aws::Structure end |
#rank ⇒ Integer
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.
6288 6289 6290 6291 6292 6293 6294 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 6288 class RecommendedOptionProjectedMetric < Struct.new( :recommended_instance_type, :rank, :projected_metrics) SENSITIVE = [] include Aws::Structure end |
#recommended_instance_type ⇒ String
The recommended instance type.
6288 6289 6290 6291 6292 6293 6294 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 6288 class RecommendedOptionProjectedMetric < Struct.new( :recommended_instance_type, :rank, :projected_metrics) SENSITIVE = [] include Aws::Structure end |