com.pulumi.awsnative.eks.kotlin.outputs.NodegroupUpdateConfig.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.eks.kotlin.outputs
import kotlin.Double
import kotlin.Suppress
/**
* 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 NodegroupUpdateConfig(
public val maxUnavailable: Double? = null,
public val maxUnavailablePercentage: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.eks.outputs.NodegroupUpdateConfig): NodegroupUpdateConfig = NodegroupUpdateConfig(
maxUnavailable = javaType.maxUnavailable().map({ args0 -> args0 }).orElse(null),
maxUnavailablePercentage = javaType.maxUnavailablePercentage().map({ args0 -> args0 }).orElse(null),
)
}
}