
com.pulumi.awsnative.msk.kotlin.inputs.ClusterLoggingInfoArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.msk.kotlin.inputs
import com.pulumi.awsnative.msk.inputs.ClusterLoggingInfoArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property brokerLogs You can configure your MSK cluster to send broker logs to different destination types. This configuration specifies the details of these destinations.
*/
public data class ClusterLoggingInfoArgs(
public val brokerLogs: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterLoggingInfoArgs =
com.pulumi.awsnative.msk.inputs.ClusterLoggingInfoArgs.builder()
.brokerLogs(brokerLogs.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ClusterLoggingInfoArgs].
*/
@PulumiTagMarker
public class ClusterLoggingInfoArgsBuilder internal constructor() {
private var brokerLogs: Output? = null
/**
* @param value You can configure your MSK cluster to send broker logs to different destination types. This configuration specifies the details of these destinations.
*/
@JvmName("jhvpbbqjhchggiwj")
public suspend fun brokerLogs(`value`: Output) {
this.brokerLogs = value
}
/**
* @param value You can configure your MSK cluster to send broker logs to different destination types. This configuration specifies the details of these destinations.
*/
@JvmName("qqoigrwegxcfoqlw")
public suspend fun brokerLogs(`value`: ClusterBrokerLogsArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.brokerLogs = mapped
}
/**
* @param argument You can configure your MSK cluster to send broker logs to different destination types. This configuration specifies the details of these destinations.
*/
@JvmName("kjblryhnqjuyqggl")
public suspend fun brokerLogs(argument: suspend ClusterBrokerLogsArgsBuilder.() -> Unit) {
val toBeMapped = ClusterBrokerLogsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.brokerLogs = mapped
}
internal fun build(): ClusterLoggingInfoArgs = ClusterLoggingInfoArgs(
brokerLogs = brokerLogs ?: throw PulumiNullFieldException("brokerLogs"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy