com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfns3LogsConfigurationArgs.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.guardduty.kotlin.inputs
import com.pulumi.awsnative.guardduty.inputs.DetectorCfns3LogsConfigurationArgs.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 kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enable The status of S3 data event logs as a data source.
*/
public data class DetectorCfns3LogsConfigurationArgs(
public val enable: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.guardduty.inputs.DetectorCfns3LogsConfigurationArgs =
com.pulumi.awsnative.guardduty.inputs.DetectorCfns3LogsConfigurationArgs.builder()
.enable(enable.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DetectorCfns3LogsConfigurationArgs].
*/
@PulumiTagMarker
public class DetectorCfns3LogsConfigurationArgsBuilder internal constructor() {
private var enable: Output? = null
/**
* @param value The status of S3 data event logs as a data source.
*/
@JvmName("qittlbhcecnluaxf")
public suspend fun enable(`value`: Output) {
this.enable = value
}
/**
* @param value The status of S3 data event logs as a data source.
*/
@JvmName("sochfmqfbxyqhgfm")
public suspend fun enable(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enable = mapped
}
internal fun build(): DetectorCfns3LogsConfigurationArgs = DetectorCfns3LogsConfigurationArgs(
enable = enable ?: throw PulumiNullFieldException("enable"),
)
}