Class: Aws::ComputeOptimizer::Types::UtilizationMetric

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

Overview

Describes a utilization metric of a resource, such as an Amazon EC2 instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the utilization metric.

The Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

Returns:

  • (String)


1577
1578
1579
1580
1581
1582
1583
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1577

class UtilizationMetric < Struct.new(
  :name,
  :statistic,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#statisticString

The statistic of the utilization metric.

Returns:

  • (String)


1577
1578
1579
1580
1581
1582
1583
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1577

class UtilizationMetric < Struct.new(
  :name,
  :statistic,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueFloat

The value of the utilization metric.

Returns:

  • (Float)


1577
1578
1579
1580
1581
1582
1583
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1577

class UtilizationMetric < Struct.new(
  :name,
  :statistic,
  :value)
  SENSITIVE = []
  include Aws::Structure
end