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

com.pulumi.awsnative.eks.kotlin.outputs.NodegroupTaint.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.eks.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * An object representing a Taint specification for AWS EKS Nodegroup.
 * @property effect The effect of the taint.
 * @property key The key of the taint.
 * @property value The value of the taint.
 */
public data class NodegroupTaint(
    public val effect: String? = null,
    public val key: String? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.eks.outputs.NodegroupTaint): NodegroupTaint =
            NodegroupTaint(
                effect = javaType.effect().map({ args0 -> args0 }).orElse(null),
                key = javaType.key().map({ args0 -> args0 }).orElse(null),
                `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy