ServiceLevelObjectiveSliMetricArgs

data class ServiceLevelObjectiveSliMetricArgs(val keyAttributes: Output<Map<String, String>>? = null, val metricDataQueries: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null, val metricType: Output<ServiceLevelObjectiveSliMetricMetricType>? = null, val operationName: Output<String>? = null, val periodSeconds: Output<Int>? = null, val statistic: Output<String>? = null) : ConvertibleToJava<ServiceLevelObjectiveSliMetricArgs>

A structure that contains information about the metric that the SLO monitors.

Constructors

Link copied to clipboard
constructor(keyAttributes: Output<Map<String, String>>? = null, metricDataQueries: Output<List<ServiceLevelObjectiveMetricDataQueryArgs>>? = null, metricType: Output<ServiceLevelObjectiveSliMetricMetricType>? = null, operationName: Output<String>? = null, periodSeconds: Output<Int>? = null, statistic: Output<String>? = null)

Properties

Link copied to clipboard
val keyAttributes: Output<Map<String, String>>? = null

If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type , Name , and Environment attributes. This is a string-to-string map. It can include the following fields.

Link copied to clipboard

If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.

Link copied to clipboard

If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.

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

If the SLO monitors a specific operation of the service, this field displays that operation name.

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

The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.

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

The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic

Functions

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