![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.msk.kotlin.outputs.ClusterPrometheus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.msk.kotlin.outputs
import kotlin.Suppress
/**
*
* @property jmxExporter Indicates whether you want to enable or disable the JMX Exporter.
* @property nodeExporter Indicates whether you want to enable or disable the Node Exporter.
*/
public data class ClusterPrometheus(
public val jmxExporter: ClusterJmxExporter? = null,
public val nodeExporter: ClusterNodeExporter? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.msk.outputs.ClusterPrometheus): ClusterPrometheus = ClusterPrometheus(
jmxExporter = javaType.jmxExporter().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.msk.kotlin.outputs.ClusterJmxExporter.Companion.toKotlin(args0)
})
}).orElse(null),
nodeExporter = javaType.nodeExporter().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.msk.kotlin.outputs.ClusterNodeExporter.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy