![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.security.kotlin.inputs.DefenderCspmAwsOfferingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.security.kotlin.inputs
import com.pulumi.azurenative.security.inputs.DefenderCspmAwsOfferingArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The CSPM P1 for AWS offering
* @property dataSensitivityDiscovery The Microsoft Defender Data Sensitivity discovery configuration
* @property databasesDspm The databases DSPM configuration
* @property offeringType The type of the security offering.
* Expected value is 'DefenderCspmAws'.
* @property vmScanners The Microsoft Defender for Server VM scanning configuration
*/
public data class DefenderCspmAwsOfferingArgs(
public val dataSensitivityDiscovery: Output? =
null,
public val databasesDspm: Output? = null,
public val offeringType: Output,
public val vmScanners: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.security.inputs.DefenderCspmAwsOfferingArgs =
com.pulumi.azurenative.security.inputs.DefenderCspmAwsOfferingArgs.builder()
.dataSensitivityDiscovery(
dataSensitivityDiscovery?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.databasesDspm(databasesDspm?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.offeringType(offeringType.applyValue({ args0 -> args0 }))
.vmScanners(vmScanners?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DefenderCspmAwsOfferingArgs].
*/
@PulumiTagMarker
public class DefenderCspmAwsOfferingArgsBuilder internal constructor() {
private var dataSensitivityDiscovery: Output? =
null
private var databasesDspm: Output? = null
private var offeringType: Output? = null
private var vmScanners: Output? = null
/**
* @param value The Microsoft Defender Data Sensitivity discovery configuration
*/
@JvmName("gvhnqbuwdfujjkol")
public suspend fun dataSensitivityDiscovery(`value`: Output) {
this.dataSensitivityDiscovery = value
}
/**
* @param value The databases DSPM configuration
*/
@JvmName("uacncqdukhdmkmox")
public suspend fun databasesDspm(`value`: Output) {
this.databasesDspm = value
}
/**
* @param value The type of the security offering.
* Expected value is 'DefenderCspmAws'.
*/
@JvmName("fqrelceuqitsnmrt")
public suspend fun offeringType(`value`: Output) {
this.offeringType = value
}
/**
* @param value The Microsoft Defender for Server VM scanning configuration
*/
@JvmName("uwnahfhsycbrrbhh")
public suspend fun vmScanners(`value`: Output) {
this.vmScanners = value
}
/**
* @param value The Microsoft Defender Data Sensitivity discovery configuration
*/
@JvmName("nnyqtvyclsjfekww")
public suspend fun dataSensitivityDiscovery(`value`: DefenderCspmAwsOfferingDataSensitivityDiscoveryArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataSensitivityDiscovery = mapped
}
/**
* @param argument The Microsoft Defender Data Sensitivity discovery configuration
*/
@JvmName("ebkebxwcydkyjyji")
public suspend fun dataSensitivityDiscovery(argument: suspend DefenderCspmAwsOfferingDataSensitivityDiscoveryArgsBuilder.() -> Unit) {
val toBeMapped = DefenderCspmAwsOfferingDataSensitivityDiscoveryArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dataSensitivityDiscovery = mapped
}
/**
* @param value The databases DSPM configuration
*/
@JvmName("rwgdurrgaikaxjjw")
public suspend fun databasesDspm(`value`: DefenderCspmAwsOfferingDatabasesDspmArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.databasesDspm = mapped
}
/**
* @param argument The databases DSPM configuration
*/
@JvmName("ufpfhekvagsuvgbp")
public suspend fun databasesDspm(argument: suspend DefenderCspmAwsOfferingDatabasesDspmArgsBuilder.() -> Unit) {
val toBeMapped = DefenderCspmAwsOfferingDatabasesDspmArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.databasesDspm = mapped
}
/**
* @param value The type of the security offering.
* Expected value is 'DefenderCspmAws'.
*/
@JvmName("enafcinfvppwqwfn")
public suspend fun offeringType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.offeringType = mapped
}
/**
* @param value The Microsoft Defender for Server VM scanning configuration
*/
@JvmName("olsdptdwkdrqvnbh")
public suspend fun vmScanners(`value`: DefenderCspmAwsOfferingVmScannersArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vmScanners = mapped
}
/**
* @param argument The Microsoft Defender for Server VM scanning configuration
*/
@JvmName("tljrcqhqkdabvhnp")
public suspend fun vmScanners(argument: suspend DefenderCspmAwsOfferingVmScannersArgsBuilder.() -> Unit) {
val toBeMapped = DefenderCspmAwsOfferingVmScannersArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.vmScanners = mapped
}
internal fun build(): DefenderCspmAwsOfferingArgs = DefenderCspmAwsOfferingArgs(
dataSensitivityDiscovery = dataSensitivityDiscovery,
databasesDspm = databasesDspm,
offeringType = offeringType ?: throw PulumiNullFieldException("offeringType"),
vmScanners = vmScanners,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy