Class: Aws::GameLift::Types::Compute

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

Overview

This data type has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

An Amazon GameLift compute resource for hosting your game servers. Computes in an Amazon GameLift fleet differs depending on the fleet's compute type property as follows:

  • For EC2 fleets, a compute is an EC2 instance.

  • For ANYWHERE fleets, a compute is a computing resource that you provide and is registered to the fleet.

  • For CONTAINER fleets, a compute is a container that's registered to the fleet.

Constant Summary collapse

SENSITIVE =
[:ip_address]

Instance Attribute Summary collapse

Instance Attribute Details

#compute_arnString

The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are unique across locations. Instances in managed EC2 fleets are not assigned a Compute ARN.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#compute_nameString

A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is the same value as the InstanceId ID.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#compute_statusString

Current status of the compute. A compute must have an ACTIVE status to host game sessions.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#container_attributesTypes::ContainerAttributes

Some attributes of a container.



494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#creation_timeTime

A 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)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#dns_nameString

The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#fleet_arnString

The Amazon Resource Name (ARN) of the fleet that the compute belongs to.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#fleet_idString

A unique identifier for the fleet that the compute belongs to.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#game_lift_agent_endpointString

The endpoint of the Amazon GameLift Agent.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#game_lift_service_sdk_endpointString

The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet. The game servers on the compute use this endpoint to connect to the Amazon GameLift service.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#instance_idString

The InstanceID of the Instance hosting the compute for Container and Managed EC2 fleets.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#ip_addressString

The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#locationString

The name of the custom location you added to the fleet that this compute resource resides in.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#operating_systemString

The type of operating system on the compute resource.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end

#typeString

The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.

Returns:

  • (String)


494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 494

class Compute < Struct.new(
  :fleet_id,
  :fleet_arn,
  :compute_name,
  :compute_arn,
  :ip_address,
  :dns_name,
  :compute_status,
  :location,
  :creation_time,
  :operating_system,
  :type,
  :game_lift_service_sdk_endpoint,
  :game_lift_agent_endpoint,
  :instance_id,
  :container_attributes)
  SENSITIVE = [:ip_address]
  include Aws::Structure
end