AlarmDimensionArgs

data class AlarmDimensionArgs(val name: Output<String>, val value: Output<String>) : ConvertibleToJava<AlarmDimensionArgs>

Dimension is an embedded property of the `AWS::CloudWatch::Alarm` type. Dimensions are name/value pairs that can be associated with a CW metric. You can specify a maximum of 10 dimensions for a given metric.

Constructors

Link copied to clipboard
constructor(name: Output<String>, value: Output<String>)

Properties

Link copied to clipboard
val name: Output<String>

The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.

Link copied to clipboard
val value: Output<String>

The value for the dimension, from 1–255 characters in length.

Functions

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