All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.gamelift.kotlin.outputs.FleetContainerGroupsPerInstance.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.gamelift.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * 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 FleetContainerGroupsPerInstance(
    public val desiredReplicaContainerGroupsPerInstance: Int? = null,
    public val maxReplicaContainerGroupsPerInstance: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.outputs.FleetContainerGroupsPerInstance): FleetContainerGroupsPerInstance = FleetContainerGroupsPerInstance(
            desiredReplicaContainerGroupsPerInstance = javaType.desiredReplicaContainerGroupsPerInstance().map({ args0 ->
                args0
            }).orElse(null),
            maxReplicaContainerGroupsPerInstance = javaType.maxReplicaContainerGroupsPerInstance().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy