
com.pulumi.awsnative.cognito.kotlin.inputs.LogDeliveryConfigurationLogConfigurationArgs.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.cognito.kotlin.inputs
import com.pulumi.awsnative.cognito.inputs.LogDeliveryConfigurationLogConfigurationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property cloudWatchLogsConfiguration
* @property eventSource
* @property logLevel
*/
public data class LogDeliveryConfigurationLogConfigurationArgs(
public val cloudWatchLogsConfiguration: Output? = null,
public val eventSource: Output? = null,
public val logLevel: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cognito.inputs.LogDeliveryConfigurationLogConfigurationArgs =
com.pulumi.awsnative.cognito.inputs.LogDeliveryConfigurationLogConfigurationArgs.builder()
.cloudWatchLogsConfiguration(
cloudWatchLogsConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.eventSource(eventSource?.applyValue({ args0 -> args0 }))
.logLevel(logLevel?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LogDeliveryConfigurationLogConfigurationArgs].
*/
@PulumiTagMarker
public class LogDeliveryConfigurationLogConfigurationArgsBuilder internal constructor() {
private var cloudWatchLogsConfiguration:
Output? = null
private var eventSource: Output? = null
private var logLevel: Output? = null
/**
* @param value
*/
@JvmName("hnaubidxtvetuajp")
public suspend fun cloudWatchLogsConfiguration(`value`: Output) {
this.cloudWatchLogsConfiguration = value
}
/**
* @param value
*/
@JvmName("abhelhbfhyjxiodx")
public suspend fun eventSource(`value`: Output) {
this.eventSource = value
}
/**
* @param value
*/
@JvmName("hlvpjverknfjntgn")
public suspend fun logLevel(`value`: Output) {
this.logLevel = value
}
/**
* @param value
*/
@JvmName("xwiftbxgyxoectfl")
public suspend fun cloudWatchLogsConfiguration(`value`: LogDeliveryConfigurationCloudWatchLogsConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cloudWatchLogsConfiguration = mapped
}
/**
* @param argument
*/
@JvmName("lvjjdtwmhguimaye")
public suspend fun cloudWatchLogsConfiguration(argument: suspend LogDeliveryConfigurationCloudWatchLogsConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = LogDeliveryConfigurationCloudWatchLogsConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.cloudWatchLogsConfiguration = mapped
}
/**
* @param value
*/
@JvmName("rnpqeuaxgnvojsta")
public suspend fun eventSource(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.eventSource = mapped
}
/**
* @param value
*/
@JvmName("hlkxptfngqpkdonw")
public suspend fun logLevel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logLevel = mapped
}
internal fun build(): LogDeliveryConfigurationLogConfigurationArgs =
LogDeliveryConfigurationLogConfigurationArgs(
cloudWatchLogsConfiguration = cloudWatchLogsConfiguration,
eventSource = eventSource,
logLevel = logLevel,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy