You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

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)

    The name of the utilization metric.

#statisticString

The statistic of the utilization metric.

Possible values:

  • Maximum
  • Average

Returns:

  • (String)

    The statistic of the utilization metric.

#valueFloat

The value of the utilization metric.

Returns:

  • (Float)

    The value of the utilization metric.