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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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.



522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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.

<note markdown=“1”> Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the [Amazon Linux 2 FAQs]. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See [ Migrate to Amazon GameLift server SDK version 5.]

</note>

[1]: aws.amazon.com/amazon-linux-2/faqs/ [2]: docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html

Returns:

  • (String)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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)


522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# File 'lib/aws-sdk-gamelift/types.rb', line 522

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