Class: Aws::ComputeOptimizer::Types::CustomizableMetricParameters

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

Overview

Defines the various metric parameters that can be customized, such as threshold and headroom.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#headroomString

The headroom value in percentage used for the specified metric parameter.

The following lists the valid values for CPU and memory utilization.

  • CPU utilization: PERCENT_30 | PERCENT_20 | PERCENT_0

  • Memory utilization: PERCENT_30 | PERCENT_20 | PERCENT_10

Returns:

  • (String)


476
477
478
479
480
481
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 476

class CustomizableMetricParameters < Struct.new(
  :threshold,
  :headroom)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdString

The threshold value used for the specified metric parameter.

You can only specify the threshold value for CPU utilization.

Returns:

  • (String)


476
477
478
479
480
481
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 476

class CustomizableMetricParameters < Struct.new(
  :threshold,
  :headroom)
  SENSITIVE = []
  include Aws::Structure
end