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

com.pulumi.gcp.compute.kotlin.inputs.InstanceFromMachineImageShieldedInstanceConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.InstanceFromMachineImageShieldedInstanceConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enableIntegrityMonitoring Whether integrity monitoring is enabled for the instance.
 * @property enableSecureBoot Whether secure boot is enabled for the instance.
 * @property enableVtpm Whether the instance uses vTPM.
 */
public data class InstanceFromMachineImageShieldedInstanceConfigArgs(
    public val enableIntegrityMonitoring: Output? = null,
    public val enableSecureBoot: Output? = null,
    public val enableVtpm: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.InstanceFromMachineImageShieldedInstanceConfigArgs =
        com.pulumi.gcp.compute.inputs.InstanceFromMachineImageShieldedInstanceConfigArgs.builder()
            .enableIntegrityMonitoring(enableIntegrityMonitoring?.applyValue({ args0 -> args0 }))
            .enableSecureBoot(enableSecureBoot?.applyValue({ args0 -> args0 }))
            .enableVtpm(enableVtpm?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceFromMachineImageShieldedInstanceConfigArgs].
 */
@PulumiTagMarker
public class InstanceFromMachineImageShieldedInstanceConfigArgsBuilder internal constructor() {
    private var enableIntegrityMonitoring: Output? = null

    private var enableSecureBoot: Output? = null

    private var enableVtpm: Output? = null

    /**
     * @param value Whether integrity monitoring is enabled for the instance.
     */
    @JvmName("ajbkycannocdxvof")
    public suspend fun enableIntegrityMonitoring(`value`: Output) {
        this.enableIntegrityMonitoring = value
    }

    /**
     * @param value Whether secure boot is enabled for the instance.
     */
    @JvmName("amffloixcwqsjrru")
    public suspend fun enableSecureBoot(`value`: Output) {
        this.enableSecureBoot = value
    }

    /**
     * @param value Whether the instance uses vTPM.
     */
    @JvmName("suijtoaqdruusjmp")
    public suspend fun enableVtpm(`value`: Output) {
        this.enableVtpm = value
    }

    /**
     * @param value Whether integrity monitoring is enabled for the instance.
     */
    @JvmName("gpaygwitmhbwrmrf")
    public suspend fun enableIntegrityMonitoring(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableIntegrityMonitoring = mapped
    }

    /**
     * @param value Whether secure boot is enabled for the instance.
     */
    @JvmName("wbklmvtfbreeprwa")
    public suspend fun enableSecureBoot(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableSecureBoot = mapped
    }

    /**
     * @param value Whether the instance uses vTPM.
     */
    @JvmName("vckkpmdrggqhppmr")
    public suspend fun enableVtpm(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableVtpm = mapped
    }

    internal fun build(): InstanceFromMachineImageShieldedInstanceConfigArgs =
        InstanceFromMachineImageShieldedInstanceConfigArgs(
            enableIntegrityMonitoring = enableIntegrityMonitoring,
            enableSecureBoot = enableSecureBoot,
            enableVtpm = enableVtpm,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy