All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.guardduty.kotlin.inputs.OrganizationConfigurationDatasourcesArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.guardduty.kotlin.inputs

import com.pulumi.aws.guardduty.inputs.OrganizationConfigurationDatasourcesArgs.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 Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.
 * @property malwareProtection Enable Malware Protection automatically for new member accounts.
 * @property s3Logs Enable S3 Protection automatically for new member accounts.
 */
public data class OrganizationConfigurationDatasourcesArgs(
    public val kubernetes: Output? = null,
    public val malwareProtection: Output? =
        null,
    public val s3Logs: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.guardduty.inputs.OrganizationConfigurationDatasourcesArgs =
        com.pulumi.aws.guardduty.inputs.OrganizationConfigurationDatasourcesArgs.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 [OrganizationConfigurationDatasourcesArgs].
 */
@PulumiTagMarker
public class OrganizationConfigurationDatasourcesArgsBuilder internal constructor() {
    private var kubernetes: Output? = null

    private var malwareProtection: Output? =
        null

    private var s3Logs: Output? = null

    /**
     * @param value Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.
     */
    @JvmName("vaffgbxrxemewyjg")
    public suspend fun kubernetes(`value`: Output) {
        this.kubernetes = value
    }

    /**
     * @param value Enable Malware Protection automatically for new member accounts.
     */
    @JvmName("sbpbjfgftooohowe")
    public suspend fun malwareProtection(`value`: Output) {
        this.malwareProtection = value
    }

    /**
     * @param value Enable S3 Protection automatically for new member accounts.
     */
    @JvmName("tpgugwyaravbusfp")
    public suspend fun s3Logs(`value`: Output) {
        this.s3Logs = value
    }

    /**
     * @param value Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.
     */
    @JvmName("bahodykdvnyuylrg")
    public suspend fun kubernetes(`value`: OrganizationConfigurationDatasourcesKubernetesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kubernetes = mapped
    }

    /**
     * @param argument Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.
     */
    @JvmName("lbtssufaasniarqj")
    public suspend fun kubernetes(argument: suspend OrganizationConfigurationDatasourcesKubernetesArgsBuilder.() -> Unit) {
        val toBeMapped = OrganizationConfigurationDatasourcesKubernetesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.kubernetes = mapped
    }

    /**
     * @param value Enable Malware Protection automatically for new member accounts.
     */
    @JvmName("heqxcponjoyffyvt")
    public suspend fun malwareProtection(`value`: OrganizationConfigurationDatasourcesMalwareProtectionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.malwareProtection = mapped
    }

    /**
     * @param argument Enable Malware Protection automatically for new member accounts.
     */
    @JvmName("exmewbqjccgetbnj")
    public suspend fun malwareProtection(argument: suspend OrganizationConfigurationDatasourcesMalwareProtectionArgsBuilder.() -> Unit) {
        val toBeMapped =
            OrganizationConfigurationDatasourcesMalwareProtectionArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.malwareProtection = mapped
    }

    /**
     * @param value Enable S3 Protection automatically for new member accounts.
     */
    @JvmName("jpkshvnohfdyfemo")
    public suspend fun s3Logs(`value`: OrganizationConfigurationDatasourcesS3LogsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3Logs = mapped
    }

    /**
     * @param argument Enable S3 Protection automatically for new member accounts.
     */
    @JvmName("qinsapmjphydpowo")
    public suspend fun s3Logs(argument: suspend OrganizationConfigurationDatasourcesS3LogsArgsBuilder.() -> Unit) {
        val toBeMapped = OrganizationConfigurationDatasourcesS3LogsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.s3Logs = mapped
    }

    internal fun build(): OrganizationConfigurationDatasourcesArgs =
        OrganizationConfigurationDatasourcesArgs(
            kubernetes = kubernetes,
            malwareProtection = malwareProtection,
            s3Logs = s3Logs,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy