GameServerInstance class
This data type is used with the Amazon 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
.
Constructors
- GameServerInstance({String? gameServerGroupArn, String? gameServerGroupName, String? instanceId, GameServerInstanceStatus? instanceStatus})
-
GameServerInstance.fromJson(Map<
String, dynamic> json) -
factory
Properties
- gameServerGroupArn → String?
-
A generated unique identifier for the game server group that includes the
game server instance.
final
- gameServerGroupName → 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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceId → 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
.final - instanceStatus → GameServerInstanceStatus?
-
Current status of the game server instance.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited