
com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfnDataSourceConfigurationsArgs.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.DetectorCfnDataSourceConfigurationsArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property kubernetes Describes which Kubernetes data sources are enabled for a detector.
* @property malwareProtection Describes whether Malware Protection will be enabled as a data source.
* @property s3Logs Describes whether S3 data event logs are enabled as a data source.
*/
public data class DetectorCfnDataSourceConfigurationsArgs(
public val kubernetes: Output? = null,
public val malwareProtection: Output? = null,
public val s3Logs: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.guardduty.inputs.DetectorCfnDataSourceConfigurationsArgs =
com.pulumi.awsnative.guardduty.inputs.DetectorCfnDataSourceConfigurationsArgs.builder()
.kubernetes(kubernetes?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.malwareProtection(malwareProtection?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.s3Logs(s3Logs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DetectorCfnDataSourceConfigurationsArgs].
*/
@PulumiTagMarker
public class DetectorCfnDataSourceConfigurationsArgsBuilder internal constructor() {
private var kubernetes: Output? = null
private var malwareProtection: Output? = null
private var s3Logs: Output? = null
/**
* @param value Describes which Kubernetes data sources are enabled for a detector.
*/
@JvmName("hjlkwqfixiklpuia")
public suspend fun kubernetes(`value`: Output) {
this.kubernetes = value
}
/**
* @param value Describes whether Malware Protection will be enabled as a data source.
*/
@JvmName("hdtgeyxqwpjbguwd")
public suspend fun malwareProtection(`value`: Output) {
this.malwareProtection = value
}
/**
* @param value Describes whether S3 data event logs are enabled as a data source.
*/
@JvmName("onsdjaumxpdrykqr")
public suspend fun s3Logs(`value`: Output) {
this.s3Logs = value
}
/**
* @param value Describes which Kubernetes data sources are enabled for a detector.
*/
@JvmName("qvmbumsapmlpvkli")
public suspend fun kubernetes(`value`: DetectorCfnKubernetesConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kubernetes = mapped
}
/**
* @param argument Describes which Kubernetes data sources are enabled for a detector.
*/
@JvmName("mleoykdilkrtjvof")
public suspend fun kubernetes(argument: suspend DetectorCfnKubernetesConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DetectorCfnKubernetesConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.kubernetes = mapped
}
/**
* @param value Describes whether Malware Protection will be enabled as a data source.
*/
@JvmName("hdefpwpieamustsx")
public suspend fun malwareProtection(`value`: DetectorCfnMalwareProtectionConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.malwareProtection = mapped
}
/**
* @param argument Describes whether Malware Protection will be enabled as a data source.
*/
@JvmName("brmrscxfrbldhiyg")
public suspend fun malwareProtection(argument: suspend DetectorCfnMalwareProtectionConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DetectorCfnMalwareProtectionConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.malwareProtection = mapped
}
/**
* @param value Describes whether S3 data event logs are enabled as a data source.
*/
@JvmName("uxlsmuxcllvxabwy")
public suspend fun s3Logs(`value`: DetectorCfns3LogsConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3Logs = mapped
}
/**
* @param argument Describes whether S3 data event logs are enabled as a data source.
*/
@JvmName("suixffwsuxhouoxx")
public suspend fun s3Logs(argument: suspend DetectorCfns3LogsConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DetectorCfns3LogsConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.s3Logs = mapped
}
internal fun build(): DetectorCfnDataSourceConfigurationsArgs =
DetectorCfnDataSourceConfigurationsArgs(
kubernetes = kubernetes,
malwareProtection = malwareProtection,
s3Logs = s3Logs,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy