
com.pulumi.awsnative.eks.kotlin.outputs.GetNodegroupResult.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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property arn The Amazon Resource Name (ARN) associated with the managed node group.
* @property id
* @property labels The Kubernetes labels to be applied to the nodes in the node group when they are created.
* @property launchTemplate An object representing a node group's launch template specification.
* @property releaseVersion The AMI version of the Amazon EKS-optimized AMI to use with your node group.
* @property scalingConfig The scaling configuration details for the Auto Scaling group that is created for your node group.
* @property tags The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency.
* @property taints The Kubernetes taints to be applied to the nodes in the node group when they are created.
* @property updateConfig The node group update configuration.
* @property version The Kubernetes version to use for your managed nodes.
*/
public data class GetNodegroupResult(
public val arn: String? = null,
public val id: String? = null,
public val labels: Map? = null,
public val launchTemplate: NodegroupLaunchTemplateSpecification? = null,
public val releaseVersion: String? = null,
public val scalingConfig: NodegroupScalingConfig? = null,
public val tags: Map? = null,
public val taints: List? = null,
public val updateConfig: NodegroupUpdateConfig? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.eks.outputs.GetNodegroupResult): GetNodegroupResult = GetNodegroupResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
launchTemplate = javaType.launchTemplate().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.eks.kotlin.outputs.NodegroupLaunchTemplateSpecification.Companion.toKotlin(args0)
})
}).orElse(null),
releaseVersion = javaType.releaseVersion().map({ args0 -> args0 }).orElse(null),
scalingConfig = javaType.scalingConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.eks.kotlin.outputs.NodegroupScalingConfig.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
taints = javaType.taints().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.eks.kotlin.outputs.NodegroupTaint.Companion.toKotlin(args0)
})
}),
updateConfig = javaType.updateConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.eks.kotlin.outputs.NodegroupUpdateConfig.Companion.toKotlin(args0)
})
}).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy