
com.pulumi.awsnative.gamelift.kotlin.outputs.FleetLocationCapacity.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.gamelift.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.
* @property desiredEc2Instances The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits.
* @property maxSize The maximum value that is allowed for the fleet's instance count for a location. When creating a new fleet, GameLift automatically sets this value to "1". Once the fleet is active, you can change this value.
* @property minSize The minimum value allowed for the fleet's instance count for a location. When creating a new fleet, GameLift automatically sets this value to "0". After the fleet is active, you can change this value.
*/
public data class FleetLocationCapacity(
public val desiredEc2Instances: Int,
public val maxSize: Int,
public val minSize: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.outputs.FleetLocationCapacity): FleetLocationCapacity = FleetLocationCapacity(
desiredEc2Instances = javaType.desiredEc2Instances(),
maxSize = javaType.maxSize(),
minSize = javaType.minSize(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy