com.pulumi.aws.opsworks.kotlin.inputs.MemcachedLayerCloudwatchConfigurationArgs.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.MemcachedLayerCloudwatchConfigurationArgs.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 MemcachedLayerCloudwatchConfigurationArgs(
public val enabled: Output? = null,
public val logStreams: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.opsworks.inputs.MemcachedLayerCloudwatchConfigurationArgs =
com.pulumi.aws.opsworks.inputs.MemcachedLayerCloudwatchConfigurationArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.logStreams(
logStreams?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MemcachedLayerCloudwatchConfigurationArgs].
*/
@PulumiTagMarker
public class MemcachedLayerCloudwatchConfigurationArgsBuilder internal constructor() {
private var enabled: Output? = null
private var logStreams: Output>? = null
/**
* @param value
*/
@JvmName("hlpkrkwkfmloblst")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value
*/
@JvmName("fmsltalijbgvycsg")
public suspend fun logStreams(`value`: Output>) {
this.logStreams = value
}
@JvmName("whwdywhudkiqxtdt")
public suspend fun logStreams(vararg values: Output) {
this.logStreams = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("wdkcownhqbkywbku")
public suspend fun logStreams(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy