com.pulumi.awsnative.guardduty.kotlin.inputs.DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs.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.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,
)
}