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

com.pulumi.aws.appconfig.kotlin.outputs.EnvironmentMonitor.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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