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

com.pulumi.aws.ssm.kotlin.outputs.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.ssm.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cloudwatchLogGroupName The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
 * @property cloudwatchOutputEnabled Enables Systems Manager to send command output to CloudWatch Logs.
 */
public data class MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig(
    public val cloudwatchLogGroupName: String? = null,
    public val cloudwatchOutputEnabled: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.ssm.outputs.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig): MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig =
            MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig(
                cloudwatchLogGroupName = javaType.cloudwatchLogGroupName().map({ args0 -> args0 }).orElse(null),
                cloudwatchOutputEnabled = javaType.cloudwatchOutputEnabled().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy