GameServerInstance

public struct GameServerInstance : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A generated unique identifier for the game server group that includes the game server instance.

    Declaration

    Swift

    public let gameServerGroupArn: String?
  • A developer-defined identifier for the game server group that includes the game server instance. The name is unique for each Region in each AWS account.

    Declaration

    Swift

    public let gameServerGroupName: String?
  • The unique identifier for the instance where the game server is running. This ID is available in the instance metadata. EC2 instance IDs use a 17-character format, for example: i-1234567890abcdef0.

    Declaration

    Swift

    public let instanceId: String?
  • Current status of the game server instance. ACTIVE – The instance is viable for hosting game servers. DRAINING – The instance is not viable for hosting game servers. Existing game servers are in the process of ending, and new game servers are not started on this instance unless no other resources are available. When the instance is put in DRAINING, a new instance is started up to replace it. Once the instance has no UTILIZED game servers, it will be terminated in favor of the new instance. SPOT_TERMINATING – The instance is in the process of shutting down due to a Spot instance interruption. No new game servers are started on this instance.

    Declaration

    Swift

    public let instanceStatus: GameServerInstanceStatus?
  • Undocumented

    Declaration

    Swift

    public init(gameServerGroupArn: String? = nil, gameServerGroupName: String? = nil, instanceId: String? = nil, instanceStatus: GameServerInstanceStatus? = nil)