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

#metric ⇒ String

The name of the metric.

Returns:

  • (String)


64567
64568
64569
64570
64571
64572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 64567

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

#value ⇒ Float

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

Returns:

  • (Float)


64567
64568
64569
64570
64571
64572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 64567

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