
com.pulumi.awsnative.applicationinsights.kotlin.outputs.ApplicationProcess.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.applicationinsights.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A process to be monitored for the component.
* @property alarmMetrics A list of metrics to monitor for the component.
* @property processName The name of the process to be monitored for the component.
*/
public data class ApplicationProcess(
public val alarmMetrics: List,
public val processName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.applicationinsights.outputs.ApplicationProcess): ApplicationProcess = ApplicationProcess(
alarmMetrics = javaType.alarmMetrics().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.applicationinsights.kotlin.outputs.ApplicationAlarmMetric.Companion.toKotlin(args0)
})
}),
processName = javaType.processName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy