com.pulumi.aws.autoscaling.kotlin.inputs.GroupInstanceRefreshPreferencesAlarmSpecificationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.autoscaling.kotlin.inputs
import com.pulumi.aws.autoscaling.inputs.GroupInstanceRefreshPreferencesAlarmSpecificationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property alarms List of Cloudwatch alarms. If any of these alarms goes into ALARM state, Instance Refresh is failed.
*/
public data class GroupInstanceRefreshPreferencesAlarmSpecificationArgs(
public val alarms: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.autoscaling.inputs.GroupInstanceRefreshPreferencesAlarmSpecificationArgs =
com.pulumi.aws.autoscaling.inputs.GroupInstanceRefreshPreferencesAlarmSpecificationArgs.builder()
.alarms(alarms?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GroupInstanceRefreshPreferencesAlarmSpecificationArgs].
*/
@PulumiTagMarker
public class GroupInstanceRefreshPreferencesAlarmSpecificationArgsBuilder internal constructor() {
private var alarms: Output>? = null
/**
* @param value List of Cloudwatch alarms. If any of these alarms goes into ALARM state, Instance Refresh is failed.
*/
@JvmName("mnudwgfrnayqfjaw")
public suspend fun alarms(`value`: Output>) {
this.alarms = value
}
@JvmName("srgvjwvnqifaxtdj")
public suspend fun alarms(vararg values: Output) {
this.alarms = Output.all(values.asList())
}
/**
* @param values List of Cloudwatch alarms. If any of these alarms goes into ALARM state, Instance Refresh is failed.
*/
@JvmName("floqaxtduwqshjuq")
public suspend fun alarms(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy