com.pulumi.aws.opsworks.kotlin.inputs.EcsClusterLayerCloudwatchConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.opsworks.kotlin.inputs
import com.pulumi.aws.opsworks.inputs.EcsClusterLayerCloudwatchConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property enabled
* @property logStreams
*/
public data class EcsClusterLayerCloudwatchConfigurationArgs(
public val enabled: Output? = null,
public val logStreams: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.opsworks.inputs.EcsClusterLayerCloudwatchConfigurationArgs =
com.pulumi.aws.opsworks.inputs.EcsClusterLayerCloudwatchConfigurationArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.logStreams(
logStreams?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EcsClusterLayerCloudwatchConfigurationArgs].
*/
@PulumiTagMarker
public class EcsClusterLayerCloudwatchConfigurationArgsBuilder internal constructor() {
private var enabled: Output? = null
private var logStreams: Output>? = null
/**
* @param value
*/
@JvmName("nuqwqprrdratksgi")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value
*/
@JvmName("ljnxjnrpguovfchw")
public suspend fun logStreams(`value`: Output>) {
this.logStreams = value
}
@JvmName("jvhnvipmjjunywfx")
public suspend fun logStreams(vararg values: Output) {
this.logStreams = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("waiqbngdvppfyfnr")
public suspend fun logStreams(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy