All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.cloudwatch.kotlin.outputs.AlarmDimension.kt Maven / Gradle / Ivy

@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