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

com.pulumi.awsnative.mwaa.kotlin.outputs.EnvironmentLoggingConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mwaa.kotlin.outputs

import kotlin.Suppress

/**
 * Logging configuration for the environment.
 * @property dagProcessingLogs Defines the processing logs sent to CloudWatch Logs and the logging level to send.
 * @property schedulerLogs Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
 * @property taskLogs Defines the task logs sent to CloudWatch Logs and the logging level to send.
 * @property webserverLogs Defines the web server logs sent to CloudWatch Logs and the logging level to send.
 * @property workerLogs Defines the worker logs sent to CloudWatch Logs and the logging level to send.
 */
public data class EnvironmentLoggingConfiguration(
    public val dagProcessingLogs: EnvironmentModuleLoggingConfiguration? = null,
    public val schedulerLogs: EnvironmentModuleLoggingConfiguration? = null,
    public val taskLogs: EnvironmentModuleLoggingConfiguration? = null,
    public val webserverLogs: EnvironmentModuleLoggingConfiguration? = null,
    public val workerLogs: EnvironmentModuleLoggingConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mwaa.outputs.EnvironmentLoggingConfiguration): EnvironmentLoggingConfiguration = EnvironmentLoggingConfiguration(
            dagProcessingLogs = javaType.dagProcessingLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mwaa.kotlin.outputs.EnvironmentModuleLoggingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            schedulerLogs = javaType.schedulerLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mwaa.kotlin.outputs.EnvironmentModuleLoggingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            taskLogs = javaType.taskLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mwaa.kotlin.outputs.EnvironmentModuleLoggingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            webserverLogs = javaType.webserverLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mwaa.kotlin.outputs.EnvironmentModuleLoggingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            workerLogs = javaType.workerLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mwaa.kotlin.outputs.EnvironmentModuleLoggingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy