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
- Struct
- Aws::ComputeOptimizer::Types::UtilizationMetric
- Defined in:
- (unknown)
Overview
Describes a utilization metric of a resource, such as an Amazon EC2 instance.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the utilization metric.
-
#statistic ⇒ String
The statistic of the utilization metric.
-
#value ⇒ Float
The value of the utilization metric.
Instance Attribute Details
#name ⇒ String
The name of the utilization metric.
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.
#statistic ⇒ String
The statistic of the utilization metric.
Possible values:
- Maximum
- Average
#value ⇒ Float
The value of the utilization metric.