
com.pulumi.awsnative.cloudwatch.kotlin.outputs.AlarmDimension.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudwatch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* 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.
* @property name The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
* @property value The value for the dimension, from 1–255 characters in length.
*/
public data class AlarmDimension(
public val name: String,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudwatch.outputs.AlarmDimension): AlarmDimension = AlarmDimension(
name = javaType.name(),
`value` = javaType.`value`(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy