![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.applicationinsights.kotlin.outputs.ApplicationComponentMonitoringSetting.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.applicationinsights.kotlin.outputs
import com.pulumi.awsnative.applicationinsights.kotlin.enums.ApplicationComponentMonitoringSettingComponentConfigurationMode
import kotlin.String
import kotlin.Suppress
/**
* The monitoring setting of the component.
* @property componentArn The ARN of the compnonent.
* @property componentConfigurationMode The component monitoring configuration mode.
* @property componentName The name of the component.
* @property customComponentConfiguration The monitoring configuration of the component.
* @property defaultOverwriteComponentConfiguration The overwritten settings on default component monitoring configuration.
* @property tier The tier of the application component.
*/
public data class ApplicationComponentMonitoringSetting(
public val componentArn: String? = null,
public val componentConfigurationMode: ApplicationComponentMonitoringSettingComponentConfigurationMode,
public val componentName: String? = null,
public val customComponentConfiguration: ApplicationComponentConfiguration? = null,
public val defaultOverwriteComponentConfiguration: ApplicationComponentConfiguration? = null,
public val tier: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.applicationinsights.outputs.ApplicationComponentMonitoringSetting): ApplicationComponentMonitoringSetting = ApplicationComponentMonitoringSetting(
componentArn = javaType.componentArn().map({ args0 -> args0 }).orElse(null),
componentConfigurationMode = javaType.componentConfigurationMode().let({ args0 ->
com.pulumi.awsnative.applicationinsights.kotlin.enums.ApplicationComponentMonitoringSettingComponentConfigurationMode.Companion.toKotlin(args0)
}),
componentName = javaType.componentName().map({ args0 -> args0 }).orElse(null),
customComponentConfiguration = javaType.customComponentConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.applicationinsights.kotlin.outputs.ApplicationComponentConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
defaultOverwriteComponentConfiguration = javaType.defaultOverwriteComponentConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.applicationinsights.kotlin.outputs.ApplicationComponentConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
tier = javaType.tier(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy