![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleCloudwatchAlarmAction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property alarmName The CloudWatch alarm name.
* @property roleArn The IAM role that allows access to the CloudWatch alarm.
* @property stateReason The reason for the alarm change.
* @property stateValue The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
*/
public data class TopicRuleCloudwatchAlarmAction(
public val alarmName: String,
public val roleArn: String,
public val stateReason: String,
public val stateValue: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleCloudwatchAlarmAction): TopicRuleCloudwatchAlarmAction = TopicRuleCloudwatchAlarmAction(
alarmName = javaType.alarmName(),
roleArn = javaType.roleArn(),
stateReason = javaType.stateReason(),
stateValue = javaType.stateValue(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy