com.pulumi.aws.ec2.kotlin.inputs.InstanceEnclaveOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.ec2.kotlin.inputs
import com.pulumi.aws.ec2.inputs.InstanceEnclaveOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enabled Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
* For more information, see the documentation on [Nitro Enclaves](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html).
*/
public data class InstanceEnclaveOptionsArgs(
public val enabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ec2.inputs.InstanceEnclaveOptionsArgs =
com.pulumi.aws.ec2.inputs.InstanceEnclaveOptionsArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceEnclaveOptionsArgs].
*/
@PulumiTagMarker
public class InstanceEnclaveOptionsArgsBuilder internal constructor() {
private var enabled: Output? = null
/**
* @param value Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
* For more information, see the documentation on [Nitro Enclaves](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html).
*/
@JvmName("xmslwuaevhiyvevm")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
* For more information, see the documentation on [Nitro Enclaves](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html).
*/
@JvmName("jttbwrdcemmomxpf")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
internal fun build(): InstanceEnclaveOptionsArgs = InstanceEnclaveOptionsArgs(
enabled = enabled,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy