![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.eks.kotlin.inputs.NodegroupUpdateConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.eks.kotlin.inputs
import com.pulumi.awsnative.eks.inputs.NodegroupUpdateConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The node group update configuration.
* @property maxUnavailable The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. This value or maxUnavailablePercentage is required to have a value.The maximum number is 100.
* @property maxUnavailablePercentage The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value.
*/
public data class NodegroupUpdateConfigArgs(
public val maxUnavailable: Output? = null,
public val maxUnavailablePercentage: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.eks.inputs.NodegroupUpdateConfigArgs =
com.pulumi.awsnative.eks.inputs.NodegroupUpdateConfigArgs.builder()
.maxUnavailable(maxUnavailable?.applyValue({ args0 -> args0 }))
.maxUnavailablePercentage(maxUnavailablePercentage?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodegroupUpdateConfigArgs].
*/
@PulumiTagMarker
public class NodegroupUpdateConfigArgsBuilder internal constructor() {
private var maxUnavailable: Output? = null
private var maxUnavailablePercentage: Output? = null
/**
* @param value The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. This value or maxUnavailablePercentage is required to have a value.The maximum number is 100.
*/
@JvmName("isiafdmaopangado")
public suspend fun maxUnavailable(`value`: Output) {
this.maxUnavailable = value
}
/**
* @param value The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value.
*/
@JvmName("vddaklghgcseojtq")
public suspend fun maxUnavailablePercentage(`value`: Output) {
this.maxUnavailablePercentage = value
}
/**
* @param value The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. This value or maxUnavailablePercentage is required to have a value.The maximum number is 100.
*/
@JvmName("cupsuhfqobxwrmoy")
public suspend fun maxUnavailable(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxUnavailable = mapped
}
/**
* @param value The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value.
*/
@JvmName("yldiyigcoxbtukbk")
public suspend fun maxUnavailablePercentage(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxUnavailablePercentage = mapped
}
internal fun build(): NodegroupUpdateConfigArgs = NodegroupUpdateConfigArgs(
maxUnavailable = maxUnavailable,
maxUnavailablePercentage = maxUnavailablePercentage,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy