
com.pulumi.awsnative.ec2.kotlin.inputs.LaunchTemplateMaintenanceOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.LaunchTemplateMaintenanceOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The maintenance options of your instance.
* @property autoRecovery Disables the automatic recovery behavior of your instance or sets it to default.
*/
public data class LaunchTemplateMaintenanceOptionsArgs(
public val autoRecovery: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.LaunchTemplateMaintenanceOptionsArgs =
com.pulumi.awsnative.ec2.inputs.LaunchTemplateMaintenanceOptionsArgs.builder()
.autoRecovery(autoRecovery?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LaunchTemplateMaintenanceOptionsArgs].
*/
@PulumiTagMarker
public class LaunchTemplateMaintenanceOptionsArgsBuilder internal constructor() {
private var autoRecovery: Output? = null
/**
* @param value Disables the automatic recovery behavior of your instance or sets it to default.
*/
@JvmName("vubrhdiddxypgxxn")
public suspend fun autoRecovery(`value`: Output) {
this.autoRecovery = value
}
/**
* @param value Disables the automatic recovery behavior of your instance or sets it to default.
*/
@JvmName("dobwnnkwvenayqal")
public suspend fun autoRecovery(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.autoRecovery = mapped
}
internal fun build(): LaunchTemplateMaintenanceOptionsArgs = LaunchTemplateMaintenanceOptionsArgs(
autoRecovery = autoRecovery,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy