libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.Types.GameServerInstance

Description

 
Synopsis

Documentation

data GameServerInstance Source #

__This data type is used with the GameLift FleetIQ and game server groups.__

Additional properties, including status, that describe an EC2 instance in a game server group. Instance configurations are set with game server group properties (see DescribeGameServerGroup and with the EC2 launch template that was used when creating the game server group.

Retrieve game server instances for a game server group by calling DescribeGameServerInstances.

Related actions

CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task

See: newGameServerInstance smart constructor.

Constructors

GameServerInstance' 

Fields

  • instanceId :: Maybe Text

    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.

  • gameServerGroupName :: Maybe Text

    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.

  • instanceStatus :: Maybe GameServerInstanceStatus

    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.
  • gameServerGroupArn :: Maybe Text

    A generated unique identifier for the game server group that includes the game server instance.

Instances

Instances details
Eq GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

Read GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

Show GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

Generic GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

Associated Types

type Rep GameServerInstance :: Type -> Type #

NFData GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

Methods

rnf :: GameServerInstance -> () #

Hashable GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

FromJSON GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

type Rep GameServerInstance Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameServerInstance

type Rep GameServerInstance = D1 ('MetaData "GameServerInstance" "Amazonka.GameLift.Types.GameServerInstance" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "GameServerInstance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "gameServerGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GameServerInstanceStatus)) :*: S1 ('MetaSel ('Just "gameServerGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newGameServerInstance :: GameServerInstance Source #

Create a value of GameServerInstance with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:instanceId:GameServerInstance', gameServerInstance_instanceId - 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.

$sel:gameServerGroupName:GameServerInstance', gameServerInstance_gameServerGroupName - 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.

$sel:instanceStatus:GameServerInstance', gameServerInstance_instanceStatus - 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.

$sel:gameServerGroupArn:GameServerInstance', gameServerInstance_gameServerGroupArn - A generated unique identifier for the game server group that includes the game server instance.

gameServerInstance_instanceId :: Lens' GameServerInstance (Maybe Text) Source #

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.

gameServerInstance_gameServerGroupName :: Lens' GameServerInstance (Maybe Text) Source #

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.

gameServerInstance_instanceStatus :: Lens' GameServerInstance (Maybe GameServerInstanceStatus) Source #

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.

gameServerInstance_gameServerGroupArn :: Lens' GameServerInstance (Maybe Text) Source #

A generated unique identifier for the game server group that includes the game server instance.