Class: Aws::ComputeOptimizer::Types::UtilizationPreference

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

Overview

The preference to control the resource’s CPU utilization thresholds - threshold and headroom.

This preference is only available for the Amazon EC2 instance resource type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

The name of the resource utilization metric name to customize.

Returns:

  • (String)


5996
5997
5998
5999
6000
6001
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 5996

class UtilizationPreference < Struct.new(
  :metric_name,
  :metric_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#metric_parametersTypes::CustomizableMetricParameters

The parameters to set when customizing the resource utilization thresholds.



5996
5997
5998
5999
6000
6001
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 5996

class UtilizationPreference < Struct.new(
  :metric_name,
  :metric_parameters)
  SENSITIVE = []
  include Aws::Structure
end