![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.gamelift.kotlin.outputs.FleetLocationConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.gamelift.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A remote location where a multi-location fleet can deploy EC2 instances for game hosting.
* @property location An AWS Region code, such as `us-west-2` . For a list of supported Regions and Local Zones, see [Amazon GameLift service locations](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html) for managed hosting.
* @property locationCapacity Current resource capacity settings for managed EC2 fleets and container fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region.
* *Returned by:* [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) , [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) , [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html)
*/
public data class FleetLocationConfiguration(
public val location: String,
public val locationCapacity: FleetLocationCapacity? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.outputs.FleetLocationConfiguration): FleetLocationConfiguration = FleetLocationConfiguration(
location = javaType.location(),
locationCapacity = javaType.locationCapacity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.gamelift.kotlin.outputs.FleetLocationCapacity.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy