Skip to content

EC2  >  Structures  >  MetricValue

MetricValue

Structure Class

MetricValue dataclass

Bases: _SerdeShape

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

Attributes

metric class-attribute instance-attribute
metric: str | None = ...

The name of the metric.

value class-attribute instance-attribute
value: float | None = ...

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