Class: Aws::EC2::Types::MetricValue

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

Overview

Represents a single metric value with its associated statistic, such as the sum or average of unused capacity hours.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metricString

The name of the metric.

Returns:

  • (String)


55247
55248
55249
55250
55251
55252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55247

class MetricValue < Struct.new(
  :metric,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueFloat

The numerical value of the metric for the specified statistic and time period.

Returns:

  • (Float)


55247
55248
55249
55250
55251
55252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55247

class MetricValue < Struct.new(
  :metric,
  :value)
  SENSITIVE = []
  include Aws::Structure
end