Ec2InstanceCounts

Resource capacity settings. Fleet capacity is measured in Amazon EC2 instances. Pending and terminating counts are non-zero when the fleet capacity is adjusting to a scaling event or if access to resources is temporarily affected.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val active: Int?

Actual number of instances that are ready to host game sessions.

Link copied to clipboard
val desired: Int?

Requested number of active instances. Amazon GameLift Servers takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings.

Link copied to clipboard
val idle: Int?

Number of active instances that are not currently hosting a game session.

Link copied to clipboard
val maximum: Int?

The maximum instance count value allowed.

Link copied to clipboard
val minimum: Int?

The minimum instance count value allowed.

Link copied to clipboard
val pending: Int?

Number of instances that are starting but not yet active.

Link copied to clipboard

Number of instances that are no longer active but haven't yet been terminated.

Functions

Link copied to clipboard
inline fun copy(block: Ec2InstanceCounts.Builder.() -> Unit = {}): Ec2InstanceCounts
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String