AlarmMetricDataQueryArgs

data class AlarmMetricDataQueryArgs(val accountId: Output<String>? = null, val expression: Output<String>? = null, val id: Output<String>, val label: Output<String>? = null, val metricStat: Output<AlarmMetricStatArgs>? = null, val period: Output<Int>? = null, val returnData: Output<Boolean>? = null) : ConvertibleToJava<AlarmMetricDataQueryArgs>

This property type specifies the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a math expression on metric data.

Constructors

Link copied to clipboard
fun AlarmMetricDataQueryArgs(accountId: Output<String>? = null, expression: Output<String>? = null, id: Output<String>, label: Output<String>? = null, metricStat: Output<AlarmMetricStatArgs>? = null, period: Output<Int>? = null, returnData: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AlarmMetricDataQueryArgs

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The ID of the account where the metrics are located, if this is a cross-account alarm.

Link copied to clipboard
val expression: Output<String>? = null

The math expression to be performed on the returned data.

Link copied to clipboard
val id: Output<String>

A short name used to tie this object to the results in the response.

Link copied to clipboard
val label: Output<String>? = null

A human-readable label for this metric or expression.

Link copied to clipboard
val metricStat: Output<AlarmMetricStatArgs>? = null

The metric to be returned, along with statistics, period, and units.

Link copied to clipboard
val period: Output<Int>? = null

The period in seconds, over which the statistic is applied.

Link copied to clipboard
val returnData: Output<Boolean>? = null

This option indicates whether to return the timestamps and raw data values of this metric.