MetricStat

This structure defines the metric to be returned, along with the statistics, period, and units.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The metric to return, including the metric name, namespace, and dimensions.

Link copied to clipboard
val period: Int?

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

Link copied to clipboard
val stat: String?

The statistic to return. It can include any CloudWatch statistic or extended statistic.

Link copied to clipboard

When you are using a Put operation, this defines what unit you want to use when storing the metric.

Functions

Link copied to clipboard
inline fun copy(block: MetricStat.Builder.() -> Unit = {}): MetricStat
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String