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

com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigGceClusterConfigShieldedInstanceConfigArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.inputs

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

/**
 *
 * @property enableIntegrityMonitoring Defines whether instances have integrity monitoring enabled.
 * - - -
 * @property enableSecureBoot Defines whether instances have Secure Boot enabled.
 * @property enableVtpm Defines whether instances have the [vTPM](https://cloud.google.com/security/shielded-cloud/shielded-vm#vtpm) enabled.
 */
public data class ClusterClusterConfigGceClusterConfigShieldedInstanceConfigArgs(
    public val enableIntegrityMonitoring: Output? = null,
    public val enableSecureBoot: Output? = null,
    public val enableVtpm: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigGceClusterConfigShieldedInstanceConfigArgs =
        com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigGceClusterConfigShieldedInstanceConfigArgs.builder()
            .enableIntegrityMonitoring(enableIntegrityMonitoring?.applyValue({ args0 -> args0 }))
            .enableSecureBoot(enableSecureBoot?.applyValue({ args0 -> args0 }))
            .enableVtpm(enableVtpm?.applyValue({ args0 -> args0 })).build()
}

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

    private var enableSecureBoot: Output? = null

    private var enableVtpm: Output? = null

    /**
     * @param value Defines whether instances have integrity monitoring enabled.
     * - - -
     */
    @JvmName("bhhysfgdcpaidkow")
    public suspend fun enableIntegrityMonitoring(`value`: Output) {
        this.enableIntegrityMonitoring = value
    }

    /**
     * @param value Defines whether instances have Secure Boot enabled.
     */
    @JvmName("rlcparpyjgsjsqdj")
    public suspend fun enableSecureBoot(`value`: Output) {
        this.enableSecureBoot = value
    }

    /**
     * @param value Defines whether instances have the [vTPM](https://cloud.google.com/security/shielded-cloud/shielded-vm#vtpm) enabled.
     */
    @JvmName("kovnoumdmuklyvlb")
    public suspend fun enableVtpm(`value`: Output) {
        this.enableVtpm = value
    }

    /**
     * @param value Defines whether instances have integrity monitoring enabled.
     * - - -
     */
    @JvmName("dvakwagkjhhunnch")
    public suspend fun enableIntegrityMonitoring(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableIntegrityMonitoring = mapped
    }

    /**
     * @param value Defines whether instances have Secure Boot enabled.
     */
    @JvmName("cfjmvetdfrlclbfc")
    public suspend fun enableSecureBoot(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableSecureBoot = mapped
    }

    /**
     * @param value Defines whether instances have the [vTPM](https://cloud.google.com/security/shielded-cloud/shielded-vm#vtpm) enabled.
     */
    @JvmName("aeykxernkdcaupss")
    public suspend fun enableVtpm(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableVtpm = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy