You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ComputeOptimizer::Types::InstanceRecommendation
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::InstanceRecommendation
- Defined in:
- (unknown)
Overview
Describes an Amazon EC2 instance recommendation.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The AWS account ID of the instance.
-
#current_instance_type ⇒ String
The instance type of the current instance.
-
#finding ⇒ String
The finding classification for the instance.
-
#instance_arn ⇒ String
The Amazon Resource Name (ARN) of the current instance.
-
#instance_name ⇒ String
The name of the current instance.
-
#last_refresh_timestamp ⇒ Time
The time stamp of when the instance recommendation was last refreshed.
-
#look_back_period_in_days ⇒ Float
The number of days for which utilization metrics were analyzed for the instance.
-
#recommendation_options ⇒ Array<Types::InstanceRecommendationOption>
An array of objects that describe the recommendation options for the instance.
-
#recommendation_sources ⇒ Array<Types::RecommendationSource>
An array of objects that describe the source resource of the recommendation.
-
#utilization_metrics ⇒ Array<Types::UtilizationMetric>
An array of objects that describe the utilization metrics of the instance.
Instance Attribute Details
#account_id ⇒ String
The AWS account ID of the instance.
#current_instance_type ⇒ String
The instance type of the current instance.
#finding ⇒ String
The finding classification for the instance.
Findings for instances include:
Underprovisioned
—An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance.Overprovisioned
—An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost.Optimized
—An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. An optimized instance runs your workloads with optimal performance and infrastructure cost. For optimized resources, AWS Compute Optimizer might recommend a new generation instance type.
UNDER_PROVISIONED
,
OVER_PROVISIONED
, or OPTIMIZED
.
Possible values:
- Underprovisioned
- Overprovisioned
- Optimized
- NotOptimized
#instance_arn ⇒ String
The Amazon Resource Name (ARN) of the current instance.
#instance_name ⇒ String
The name of the current instance.
#last_refresh_timestamp ⇒ Time
The time stamp of when the instance recommendation was last refreshed.
#look_back_period_in_days ⇒ Float
The number of days for which utilization metrics were analyzed for the instance.
#recommendation_options ⇒ Array<Types::InstanceRecommendationOption>
An array of objects that describe the recommendation options for the instance.
#recommendation_sources ⇒ Array<Types::RecommendationSource>
An array of objects that describe the source resource of the recommendation.
#utilization_metrics ⇒ Array<Types::UtilizationMetric>
An array of objects that describe the utilization metrics of the instance.