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

com.pulumi.gcp.compute.kotlin.outputs.InstanceFromMachineImageConfidentialInstanceConfig.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.String
import kotlin.Suppress

/**
 *
 * @property confidentialInstanceType Specifies which confidential computing technology to use.
 * 								This could be one of the following values: SEV, SEV_SNP.
 * 								If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
 * @property enableConfidentialCompute Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
 */
public data class InstanceFromMachineImageConfidentialInstanceConfig(
    public val confidentialInstanceType: String? = null,
    public val enableConfidentialCompute: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceFromMachineImageConfidentialInstanceConfig): InstanceFromMachineImageConfidentialInstanceConfig =
            InstanceFromMachineImageConfidentialInstanceConfig(
                confidentialInstanceType = javaType.confidentialInstanceType().map({ args0 -> args0 }).orElse(null),
                enableConfidentialCompute = javaType.enableConfidentialCompute().map({ args0 ->
                    args0
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy