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

com.pulumi.googlenative.container.v1beta1.kotlin.inputs.ShieldedInstanceConfigArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.container.v1beta1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.container.v1beta1.inputs.ShieldedInstanceConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A set of Shielded Instance options.
 * @property enableIntegrityMonitoring Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
 * @property enableSecureBoot Defines whether the 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.
 */
public data class ShieldedInstanceConfigArgs(
    public val enableIntegrityMonitoring: Output? = null,
    public val enableSecureBoot: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.container.v1beta1.inputs.ShieldedInstanceConfigArgs = com.pulumi.googlenative.container.v1beta1.inputs.ShieldedInstanceConfigArgs.builder()
        .enableIntegrityMonitoring(enableIntegrityMonitoring?.applyValue({ args0 -> args0 }))
        .enableSecureBoot(enableSecureBoot?.applyValue({ args0 -> args0 })).build()
}

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

    private var enableSecureBoot: Output? = null

    /**
     * @param value Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
     */
    @JvmName("dtlrmmmnjrellywt")
    public suspend fun enableIntegrityMonitoring(`value`: Output) {
        this.enableIntegrityMonitoring = value
    }

    /**
     * @param value Defines whether the 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.
     */
    @JvmName("qbvciammuuxrnmbo")
    public suspend fun enableSecureBoot(`value`: Output) {
        this.enableSecureBoot = value
    }

    /**
     * @param value Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
     */
    @JvmName("omqjbvddwrgwvnag")
    public suspend fun enableIntegrityMonitoring(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableIntegrityMonitoring = mapped
    }

    /**
     * @param value Defines whether the 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.
     */
    @JvmName("nwdomtsnxglcifgm")
    public suspend fun enableSecureBoot(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableSecureBoot = mapped
    }

    internal fun build(): ShieldedInstanceConfigArgs = ShieldedInstanceConfigArgs(
        enableIntegrityMonitoring = enableIntegrityMonitoring,
        enableSecureBoot = enableSecureBoot,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy