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

com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.guardduty.kotlin.inputs

import com.pulumi.awsnative.guardduty.inputs.DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property ebsVolumes Describes the configuration for scanning EBS volumes as data source.
 */
public data class DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs(
    public val ebsVolumes: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.guardduty.inputs.DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs =
        com.pulumi.awsnative.guardduty.inputs.DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs.builder()
            .ebsVolumes(ebsVolumes?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs].
 */
@PulumiTagMarker
public class DetectorCfnScanEc2InstanceWithFindingsConfigurationArgsBuilder internal constructor() {
    private var ebsVolumes: Output? = null

    /**
     * @param value Describes the configuration for scanning EBS volumes as data source.
     */
    @JvmName("chygdqvmakbpcosn")
    public suspend fun ebsVolumes(`value`: Output) {
        this.ebsVolumes = value
    }

    /**
     * @param value Describes the configuration for scanning EBS volumes as data source.
     */
    @JvmName("lnjtgvkuptophltl")
    public suspend fun ebsVolumes(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ebsVolumes = mapped
    }

    internal fun build(): DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs =
        DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs(
            ebsVolumes = ebsVolumes,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy