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

com.pulumi.awsnative.emrserverless.kotlin.outputs.ApplicationMonitoringConfiguration.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: 0.122.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy