Compute

class Compute

An Amazon GameLift Servers compute resource for hosting your game servers. Computes in an Amazon GameLift Servers fleet differs depending on the fleet's compute type property as follows:

  • For managed EC2 fleets, a compute is an EC2 instance.

  • For Anywhere fleets, a compute is a computing resource that you provide and is registered to the fleet.

Types

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

Properties

Link copied to clipboard

The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are unique across locations. Instances in managed EC2 fleets are not assigned a Compute ARN.

Link copied to clipboard

A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is the same value as the InstanceId ID.

Link copied to clipboard

Current status of the compute. A compute must have an ACTIVE status to host game sessions.

Link copied to clipboard

A set of attributes for each container in the compute.

Link copied to clipboard

A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

Link copied to clipboard

The DNS name of a compute resource. Amazon GameLift Servers requires a DNS name or IP address for a compute.

Link copied to clipboard

The Amazon Resource Name (ARN) of the fleet that the compute belongs to.

Link copied to clipboard

A unique identifier for the fleet that the compute belongs to.

Link copied to clipboard

The endpoint of the Amazon GameLift Servers Agent.

Link copied to clipboard

The Amazon GameLift Servers SDK endpoint connection for a registered compute resource in an Anywhere fleet. The game servers on the compute use this endpoint to connect to the Amazon GameLift Servers service.

Link copied to clipboard

The game server container group definition for the compute.

Link copied to clipboard

The InstanceID of the EC2 instance that is hosting the compute.

Link copied to clipboard

The IP address of a compute resource. Amazon GameLift Servers requires a DNS name or IP address for a compute.

Link copied to clipboard

The name of the custom location you added to the fleet that this compute resource resides in.

Link copied to clipboard

The type of operating system on the compute resource.

Link copied to clipboard

The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Servers Anywhere fleet, this property is empty.

Functions

Link copied to clipboard
inline fun copy(block: Compute.Builder.() -> Unit = {}): Compute
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