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

com.pulumi.awsnative.eks.kotlin.outputs.NodegroupUpdateConfig.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: 1.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy