
com.pulumi.awsnative.ec2.kotlin.inputs.Ec2FleetFleetLaunchTemplateConfigRequestArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.Ec2FleetFleetLaunchTemplateConfigRequestArgs.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. You must specify either the launch template ID or launch template name in the request.
* @property overrides Any parameters that you specify override the same parameters in the launch template.
* For fleets of type `request` and `maintain` , a maximum of 300 items is allowed across all launch templates.
*/
public data class Ec2FleetFleetLaunchTemplateConfigRequestArgs(
public val launchTemplateSpecification: Output? = null,
public val overrides: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.Ec2FleetFleetLaunchTemplateConfigRequestArgs =
com.pulumi.awsnative.ec2.inputs.Ec2FleetFleetLaunchTemplateConfigRequestArgs.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 [Ec2FleetFleetLaunchTemplateConfigRequestArgs].
*/
@PulumiTagMarker
public class Ec2FleetFleetLaunchTemplateConfigRequestArgsBuilder internal constructor() {
private var launchTemplateSpecification:
Output? = null
private var overrides: Output>? = null
/**
* @param value The launch template to use. You must specify either the launch template ID or launch template name in the request.
*/
@JvmName("odxsdnwtpxcnjrsf")
public suspend fun launchTemplateSpecification(`value`: Output) {
this.launchTemplateSpecification = value
}
/**
* @param value Any parameters that you specify override the same parameters in the launch template.
* For fleets of type `request` and `maintain` , a maximum of 300 items is allowed across all launch templates.
*/
@JvmName("bukhtdyapjtwmxpo")
public suspend fun overrides(`value`: Output>) {
this.overrides = value
}
@JvmName("giiiurdkiuutxkgp")
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.
* For fleets of type `request` and `maintain` , a maximum of 300 items is allowed across all launch templates.
*/
@JvmName("jxugrywjphjjaabr")
public suspend fun overrides(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy