
com.pulumi.gcp.workbench.kotlin.inputs.InstanceGceSetupShieldedInstanceConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.workbench.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.workbench.inputs.InstanceGceSetupShieldedInstanceConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enableIntegrityMonitoring Optional. Defines whether the VM instance has integrity monitoring
* enabled. Enables monitoring and attestation of the boot integrity of the VM
* instance. The attestation is performed against the integrity policy baseline.
* This baseline is initially derived from the implicitly trusted boot image
* when the VM instance is created. Enabled by default.
* @property enableSecureBoot Optional. Defines whether the VM instance has Secure Boot enabled.
* Secure Boot helps ensure that the system only runs authentic software by verifying
* the digital signature of all boot components, and halting the boot process
* if signature verification fails. Disabled by default.
* @property enableVtpm Optional. Defines whether the VM instance has the vTPM enabled.
* Enabled by default.
*/
public data class InstanceGceSetupShieldedInstanceConfigArgs(
public val enableIntegrityMonitoring: Output? = null,
public val enableSecureBoot: Output? = null,
public val enableVtpm: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.workbench.inputs.InstanceGceSetupShieldedInstanceConfigArgs = com.pulumi.gcp.workbench.inputs.InstanceGceSetupShieldedInstanceConfigArgs.builder()
.enableIntegrityMonitoring(enableIntegrityMonitoring?.applyValue({ args0 -> args0 }))
.enableSecureBoot(enableSecureBoot?.applyValue({ args0 -> args0 }))
.enableVtpm(enableVtpm?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceGceSetupShieldedInstanceConfigArgs].
*/
@PulumiTagMarker
public class InstanceGceSetupShieldedInstanceConfigArgsBuilder internal constructor() {
private var enableIntegrityMonitoring: Output? = null
private var enableSecureBoot: Output? = null
private var enableVtpm: Output? = null
/**
* @param value Optional. Defines whether the VM instance has integrity monitoring
* enabled. Enables monitoring and attestation of the boot integrity of the VM
* instance. The attestation is performed against the integrity policy baseline.
* This baseline is initially derived from the implicitly trusted boot image
* when the VM instance is created. Enabled by default.
*/
@JvmName("kkjsgndptestoesl")
public suspend fun enableIntegrityMonitoring(`value`: Output) {
this.enableIntegrityMonitoring = value
}
/**
* @param value Optional. Defines whether the VM instance has Secure Boot enabled.
* Secure Boot helps ensure that the system only runs authentic software by verifying
* the digital signature of all boot components, and halting the boot process
* if signature verification fails. Disabled by default.
*/
@JvmName("lcxegtgjcmiuotia")
public suspend fun enableSecureBoot(`value`: Output) {
this.enableSecureBoot = value
}
/**
* @param value Optional. Defines whether the VM instance has the vTPM enabled.
* Enabled by default.
*/
@JvmName("pudruksshuqvtdim")
public suspend fun enableVtpm(`value`: Output) {
this.enableVtpm = value
}
/**
* @param value Optional. Defines whether the VM instance has integrity monitoring
* enabled. Enables monitoring and attestation of the boot integrity of the VM
* instance. The attestation is performed against the integrity policy baseline.
* This baseline is initially derived from the implicitly trusted boot image
* when the VM instance is created. Enabled by default.
*/
@JvmName("iiancvgnmwkykqbw")
public suspend fun enableIntegrityMonitoring(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableIntegrityMonitoring = mapped
}
/**
* @param value Optional. Defines whether the VM instance has Secure Boot enabled.
* Secure Boot helps ensure that the system only runs authentic software by verifying
* the digital signature of all boot components, and halting the boot process
* if signature verification fails. Disabled by default.
*/
@JvmName("fndrfkdckdlkvesg")
public suspend fun enableSecureBoot(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableSecureBoot = mapped
}
/**
* @param value Optional. Defines whether the VM instance has the vTPM enabled.
* Enabled by default.
*/
@JvmName("ltmnccfljcjobpau")
public suspend fun enableVtpm(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableVtpm = mapped
}
internal fun build(): InstanceGceSetupShieldedInstanceConfigArgs =
InstanceGceSetupShieldedInstanceConfigArgs(
enableIntegrityMonitoring = enableIntegrityMonitoring,
enableSecureBoot = enableSecureBoot,
enableVtpm = enableVtpm,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy