![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.inputs.SpotFleetLaunchTemplateConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.SpotFleetLaunchTemplateConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property launchTemplateSpecification The launch template to use. Make sure that the launch template does not contain the `NetworkInterfaceId` parameter because you can't specify a network interface ID in a Spot Fleet.
* @property overrides Any parameters that you specify override the same parameters in the launch template.
*/
public data class SpotFleetLaunchTemplateConfigArgs(
public val launchTemplateSpecification: Output? =
null,
public val overrides: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.SpotFleetLaunchTemplateConfigArgs =
com.pulumi.awsnative.ec2.inputs.SpotFleetLaunchTemplateConfigArgs.builder()
.launchTemplateSpecification(
launchTemplateSpecification?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.overrides(
overrides?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SpotFleetLaunchTemplateConfigArgs].
*/
@PulumiTagMarker
public class SpotFleetLaunchTemplateConfigArgsBuilder internal constructor() {
private var launchTemplateSpecification: Output? =
null
private var overrides: Output>? = null
/**
* @param value The launch template to use. Make sure that the launch template does not contain the `NetworkInterfaceId` parameter because you can't specify a network interface ID in a Spot Fleet.
*/
@JvmName("nottlnkkausobvgx")
public suspend fun launchTemplateSpecification(`value`: Output) {
this.launchTemplateSpecification = value
}
/**
* @param value Any parameters that you specify override the same parameters in the launch template.
*/
@JvmName("astmupkucxltsyhp")
public suspend fun overrides(`value`: Output>) {
this.overrides = value
}
@JvmName("xfiukbnbplqdqwpu")
public suspend fun overrides(vararg values: Output) {
this.overrides = Output.all(values.asList())
}
/**
* @param values Any parameters that you specify override the same parameters in the launch template.
*/
@JvmName("nadvmfvockexprxd")
public suspend fun overrides(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy