
com.pulumi.awsnative.gamelift.kotlin.inputs.FleetContainerGroupsPerInstanceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.gamelift.kotlin.inputs
import com.pulumi.awsnative.gamelift.inputs.FleetContainerGroupsPerInstanceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The number of container groups per instance.
* @property desiredReplicaContainerGroupsPerInstance Use this parameter to override the number of replica container groups GameLift will launch per instance with a number that is lower than that calculated maximum.
* @property maxReplicaContainerGroupsPerInstance GameLift calculates the maximum number of replica container groups it can launch per instance based on instance properties such as CPU, memory, and connection ports.
*/
public data class FleetContainerGroupsPerInstanceArgs(
public val desiredReplicaContainerGroupsPerInstance: Output? = null,
public val maxReplicaContainerGroupsPerInstance: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.gamelift.inputs.FleetContainerGroupsPerInstanceArgs =
com.pulumi.awsnative.gamelift.inputs.FleetContainerGroupsPerInstanceArgs.builder()
.desiredReplicaContainerGroupsPerInstance(
desiredReplicaContainerGroupsPerInstance?.applyValue({ args0 ->
args0
}),
)
.maxReplicaContainerGroupsPerInstance(
maxReplicaContainerGroupsPerInstance?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [FleetContainerGroupsPerInstanceArgs].
*/
@PulumiTagMarker
public class FleetContainerGroupsPerInstanceArgsBuilder internal constructor() {
private var desiredReplicaContainerGroupsPerInstance: Output? = null
private var maxReplicaContainerGroupsPerInstance: Output? = null
/**
* @param value Use this parameter to override the number of replica container groups GameLift will launch per instance with a number that is lower than that calculated maximum.
*/
@JvmName("jknyvhdjtofkoetf")
public suspend fun desiredReplicaContainerGroupsPerInstance(`value`: Output) {
this.desiredReplicaContainerGroupsPerInstance = value
}
/**
* @param value GameLift calculates the maximum number of replica container groups it can launch per instance based on instance properties such as CPU, memory, and connection ports.
*/
@JvmName("mubyaenqxvrsutwg")
public suspend fun maxReplicaContainerGroupsPerInstance(`value`: Output) {
this.maxReplicaContainerGroupsPerInstance = value
}
/**
* @param value Use this parameter to override the number of replica container groups GameLift will launch per instance with a number that is lower than that calculated maximum.
*/
@JvmName("blnntsqoxjohqacv")
public suspend fun desiredReplicaContainerGroupsPerInstance(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.desiredReplicaContainerGroupsPerInstance = mapped
}
/**
* @param value GameLift calculates the maximum number of replica container groups it can launch per instance based on instance properties such as CPU, memory, and connection ports.
*/
@JvmName("txodxfjghajlooyv")
public suspend fun maxReplicaContainerGroupsPerInstance(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxReplicaContainerGroupsPerInstance = mapped
}
internal fun build(): FleetContainerGroupsPerInstanceArgs = FleetContainerGroupsPerInstanceArgs(
desiredReplicaContainerGroupsPerInstance = desiredReplicaContainerGroupsPerInstance,
maxReplicaContainerGroupsPerInstance = maxReplicaContainerGroupsPerInstance,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy