AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Properties that describe an instance of a virtual computing resource that hosts one or more game servers. A fleet may contain zero or more instances.

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.Instance

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class Instance

The Instance type exposes the following members

Constructors

NameDescription
Public Method Instance()

Properties

NameTypeDescription
Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

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

Public Property FleetId System.String

Gets and sets the property FleetId.

Unique identifier for a fleet that the instance is in.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

Unique identifier for an instance.

Public Property IpAddress System.String

Gets and sets the property IpAddress.

IP address assigned to the instance.

Public Property OperatingSystem Amazon.GameLift.OperatingSystem

Gets and sets the property OperatingSystem.

Operating system that is running on this instance.

Public Property Status Amazon.GameLift.InstanceStatus

Gets and sets the property Status.

Current status of the instance. Possible statuses include the following:

  • PENDING -- The instance is in the process of being created and launching server processes as defined in the fleet's run-time configuration.

  • ACTIVE -- The instance has been successfully created and at least one server process has successfully launched and reported back to Amazon GameLift that it is ready to host a game session. The instance is now considered ready to host game sessions.

  • TERMINATING -- The instance is in the process of shutting down. This may happen to reduce capacity during a scaling down event or to recycle resources in the event of a problem.

Public Property Type Amazon.GameLift.EC2InstanceType

Gets and sets the property Type.

EC2 instance type that defines the computing resources of this instance.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms