
com.pulumi.awsnative.eks.kotlin.inputs.NodegroupLaunchTemplateSpecificationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.eks.kotlin.inputs
import com.pulumi.awsnative.eks.inputs.NodegroupLaunchTemplateSpecificationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* An object representing a launch template specification for AWS EKS Nodegroup.
* @property id The ID of the launch template.
* You must specify either the launch template ID or the launch template name in the request, but not both.
* @property name The name of the launch template.
* You must specify either the launch template name or the launch template ID in the request, but not both.
* @property version The version number of the launch template to use. If no version is specified, then the template's default version is used.
*/
public data class NodegroupLaunchTemplateSpecificationArgs(
public val id: Output? = null,
public val name: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.eks.inputs.NodegroupLaunchTemplateSpecificationArgs =
com.pulumi.awsnative.eks.inputs.NodegroupLaunchTemplateSpecificationArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodegroupLaunchTemplateSpecificationArgs].
*/
@PulumiTagMarker
public class NodegroupLaunchTemplateSpecificationArgsBuilder internal constructor() {
private var id: Output? = null
private var name: Output? = null
private var version: Output? = null
/**
* @param value The ID of the launch template.
* You must specify either the launch template ID or the launch template name in the request, but not both.
*/
@JvmName("ikfghxicwwjokqfk")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The name of the launch template.
* You must specify either the launch template name or the launch template ID in the request, but not both.
*/
@JvmName("sxvvslxuidibuiwo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The version number of the launch template to use. If no version is specified, then the template's default version is used.
*/
@JvmName("aqmsrruqygkgfkmb")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value The ID of the launch template.
* You must specify either the launch template ID or the launch template name in the request, but not both.
*/
@JvmName("rrhedyvxphiubkid")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The name of the launch template.
* You must specify either the launch template name or the launch template ID in the request, but not both.
*/
@JvmName("tuokllogixmbcqde")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The version number of the launch template to use. If no version is specified, then the template's default version is used.
*/
@JvmName("kmkvmgrhtflypmww")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): NodegroupLaunchTemplateSpecificationArgs =
NodegroupLaunchTemplateSpecificationArgs(
id = id,
name = name,
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy