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
show all
Defined in:
(unknown)

Overview

Describes an Amazon EC2 instance recommendation.

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The AWS account ID of the instance.

Returns:

  • (String)

    The AWS account ID of the instance.

#current_instance_typeString

The instance type of the current instance.

Returns:

  • (String)

    The instance type of the current instance.

#findingString

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.

The values that are returned might be UNDER_PROVISIONED, OVER_PROVISIONED, or OPTIMIZED.

Possible values:

  • Underprovisioned
  • Overprovisioned
  • Optimized
  • NotOptimized

Returns:

  • (String)

    The finding classification for the instance.

#instance_arnString

The Amazon Resource Name (ARN) of the current instance.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the current instance.

#instance_nameString

The name of the current instance.

Returns:

  • (String)

    The name of the current instance.

#last_refresh_timestampTime

The time stamp of when the instance recommendation was last refreshed.

Returns:

  • (Time)

    The time stamp of when the instance recommendation was last refreshed.

#look_back_period_in_daysFloat

The number of days for which utilization metrics were analyzed for the instance.

Returns:

  • (Float)

    The number of days for which utilization metrics were analyzed for the instance.

#recommendation_optionsArray<Types::InstanceRecommendationOption>

An array of objects that describe the recommendation options for the instance.

Returns:

#recommendation_sourcesArray<Types::RecommendationSource>

An array of objects that describe the source resource of the recommendation.

Returns:

#utilization_metricsArray<Types::UtilizationMetric>

An array of objects that describe the utilization metrics of the instance.

Returns: