![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudwatch.kotlin.inputs.GetAlarmPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudwatch.kotlin.inputs
import com.pulumi.awsnative.cloudwatch.inputs.GetAlarmPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property alarmName The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name.
* If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*/
public data class GetAlarmPlainArgs(
public val alarmName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudwatch.inputs.GetAlarmPlainArgs =
com.pulumi.awsnative.cloudwatch.inputs.GetAlarmPlainArgs.builder()
.alarmName(alarmName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAlarmPlainArgs].
*/
@PulumiTagMarker
public class GetAlarmPlainArgsBuilder internal constructor() {
private var alarmName: String? = null
/**
* @param value The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name.
* If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*/
@JvmName("nandsqtjrytkbpoe")
public suspend fun alarmName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.alarmName = mapped
}
internal fun build(): GetAlarmPlainArgs = GetAlarmPlainArgs(
alarmName = alarmName ?: throw PulumiNullFieldException("alarmName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy