Class: Aws::ComputeOptimizer::Types::InstanceRecommendation

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

Overview

Describes an Amazon EC2 instance recommendation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The AWS account ID of the instance.

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#current_instance_typeString

The instance type of the current instance.

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#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.

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#instance_arnString

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

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#instance_nameString

The name of the current instance.

Returns:

  • (String)


1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#last_refresh_timestampTime

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

Returns:

  • (Time)


1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#look_back_period_in_daysFloat

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

Returns:

  • (Float)


1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#recommendation_optionsArray<Types::InstanceRecommendationOption>

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



1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#recommendation_sourcesArray<Types::RecommendationSource>

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

Returns:



1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#utilization_metricsArray<Types::UtilizationMetric>

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

Returns:



1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1017

class InstanceRecommendation < Struct.new(
  :instance_arn,
  :account_id,
  :instance_name,
  :current_instance_type,
  :finding,
  :utilization_metrics,
  :look_back_period_in_days,
  :recommendation_options,
  :recommendation_sources,
  :last_refresh_timestamp)
  SENSITIVE = []
  include Aws::Structure
end