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

com.pulumi.gcp.compute.kotlin.outputs.InstanceTemplateShieldedInstanceConfig.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.compute.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property enableIntegrityMonitoring - Compare the most recent boot measurements to the integrity policy baseline and return a pair of pass/fail results depending on whether they match or not. Defaults to true.
 * @property enableSecureBoot - Verify the digital signature of all boot components, and halt the boot process if signature verification fails. Defaults to false.
 * @property enableVtpm - Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. Defaults to true.
 */
public data class InstanceTemplateShieldedInstanceConfig(
    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.compute.outputs.InstanceTemplateShieldedInstanceConfig): InstanceTemplateShieldedInstanceConfig = InstanceTemplateShieldedInstanceConfig(
            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