You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::GameLift::Types::Instance

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timeTime

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

Returns:

  • (Time)


3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3792

class Instance < Struct.new(
  :fleet_id,
  :instance_id,
  :ip_address,
  :operating_system,
  :type,
  :status,
  :creation_time)
  include Aws::Structure
end

#fleet_idString

Unique identifier for a fleet that the instance is in.

Returns:

  • (String)


3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3792

class Instance < Struct.new(
  :fleet_id,
  :instance_id,
  :ip_address,
  :operating_system,
  :type,
  :status,
  :creation_time)
  include Aws::Structure
end

#instance_idString

Unique identifier for an instance.

Returns:

  • (String)


3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3792

class Instance < Struct.new(
  :fleet_id,
  :instance_id,
  :ip_address,
  :operating_system,
  :type,
  :status,
  :creation_time)
  include Aws::Structure
end

#ip_addressString

IP address assigned to the instance.

Returns:

  • (String)


3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3792

class Instance < Struct.new(
  :fleet_id,
  :instance_id,
  :ip_address,
  :operating_system,
  :type,
  :status,
  :creation_time)
  include Aws::Structure
end

#operating_systemString

Operating system that is running on this instance.

Returns:

  • (String)


3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3792

class Instance < Struct.new(
  :fleet_id,
  :instance_id,
  :ip_address,
  :operating_system,
  :type,
  :status,
  :creation_time)
  include Aws::Structure
end

#statusString

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.

Returns:

  • (String)


3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3792

class Instance < Struct.new(
  :fleet_id,
  :instance_id,
  :ip_address,
  :operating_system,
  :type,
  :status,
  :creation_time)
  include Aws::Structure
end

#typeString

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

Returns:

  • (String)


3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3792

class Instance < Struct.new(
  :fleet_id,
  :instance_id,
  :ip_address,
  :operating_system,
  :type,
  :status,
  :creation_time)
  include Aws::Structure
end