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

com.pulumi.gcp.workbench.kotlin.outputs.InstanceGceSetupShieldedInstanceConfig.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.workbench.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @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 InstanceGceSetupShieldedInstanceConfig(
    public val enableIntegrityMonitoring: Boolean? = null,
    public val enableSecureBoot: Boolean? = null,
    public val enableVtpm: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.workbench.outputs.InstanceGceSetupShieldedInstanceConfig): InstanceGceSetupShieldedInstanceConfig = InstanceGceSetupShieldedInstanceConfig(
            enableIntegrityMonitoring = javaType.enableIntegrityMonitoring().map({ args0 ->
                args0
            }).orElse(null),
            enableSecureBoot = javaType.enableSecureBoot().map({ args0 -> args0 }).orElse(null),
            enableVtpm = javaType.enableVtpm().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy