Class: Aws::ComputeOptimizer::Types::UtilizationPreference
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::UtilizationPreference
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-computeoptimizer/types.rb
Overview
The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom.
<note markdown=“1”> This preference is only available for the Amazon EC2 instance resource type.
</note>
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#metric_name ⇒ String
The name of the resource utilization metric name to customize.
-
#metric_parameters ⇒ Types::CustomizableMetricParameters
The parameters to set when customizing the resource utilization thresholds.
Instance Attribute Details
#metric_name ⇒ String
The name of the resource utilization metric name to customize.
6856 6857 6858 6859 6860 6861 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 6856 class UtilizationPreference < Struct.new( :metric_name, :metric_parameters) SENSITIVE = [] include Aws::Structure end |
#metric_parameters ⇒ Types::CustomizableMetricParameters
The parameters to set when customizing the resource utilization thresholds.
6856 6857 6858 6859 6860 6861 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 6856 class UtilizationPreference < Struct.new( :metric_name, :metric_parameters) SENSITIVE = [] include Aws::Structure end |