com.pulumi.awsnative.emrserverless.kotlin.outputs.ApplicationMonitoringConfiguration.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.emrserverless.kotlin.outputs
import kotlin.Suppress
/**
* Monitoring configuration for batch and interactive JobRun.
* @property cloudWatchLoggingConfiguration CloudWatch logging configurations for a JobRun.
* @property managedPersistenceMonitoringConfiguration Managed log persistence configurations for a JobRun.
* @property s3MonitoringConfiguration S3 monitoring configurations for a JobRun.
*/
public data class ApplicationMonitoringConfiguration(
public val cloudWatchLoggingConfiguration: ApplicationCloudWatchLoggingConfiguration? = null,
public val managedPersistenceMonitoringConfiguration: ApplicationManagedPersistenceMonitoringConfiguration? = null,
public val s3MonitoringConfiguration: ApplicationS3MonitoringConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.emrserverless.outputs.ApplicationMonitoringConfiguration): ApplicationMonitoringConfiguration = ApplicationMonitoringConfiguration(
cloudWatchLoggingConfiguration = javaType.cloudWatchLoggingConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.emrserverless.kotlin.outputs.ApplicationCloudWatchLoggingConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
managedPersistenceMonitoringConfiguration = javaType.managedPersistenceMonitoringConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.emrserverless.kotlin.outputs.ApplicationManagedPersistenceMonitoringConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
s3MonitoringConfiguration = javaType.s3MonitoringConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.emrserverless.kotlin.outputs.ApplicationS3MonitoringConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}