com.pulumi.aws.appconfig.kotlin.outputs.EnvironmentMonitor.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.appconfig.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property alarmArn ARN of the Amazon CloudWatch alarm.
* @property alarmRoleArn ARN of an IAM role for AWS AppConfig to monitor `alarm_arn`.
*/
public data class EnvironmentMonitor(
public val alarmArn: String,
public val alarmRoleArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.appconfig.outputs.EnvironmentMonitor): EnvironmentMonitor = EnvironmentMonitor(
alarmArn = javaType.alarmArn(),
alarmRoleArn = javaType.alarmRoleArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy