Class: Aws::GameLift::Types::Compute
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::Compute
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-gamelift/types.rb
Overview
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 managed 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.
Constant Summary collapse
- SENSITIVE =
[:ip_address]
Instance Attribute Summary collapse
-
#compute_arn ⇒ String
The ARN that is assigned to a compute resource and uniquely identifies it.
-
#compute_name ⇒ String
A descriptive label for the compute resource.
-
#compute_status ⇒ String
Current status of the compute.
-
#container_attributes ⇒ Array<Types::ContainerAttribute>
A set of attributes for each container in the compute.
-
#creation_time ⇒ Time
A time stamp indicating when this data object was created.
-
#dns_name ⇒ String
The DNS name of a compute resource.
-
#fleet_arn ⇒ String
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
-
#fleet_id ⇒ String
A unique identifier for the fleet that the compute belongs to.
-
#game_lift_agent_endpoint ⇒ String
The endpoint of the Amazon GameLift Agent.
-
#game_lift_service_sdk_endpoint ⇒ String
The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere fleet.
-
#game_server_container_group_definition_arn ⇒ String
The game server container group definition for the compute.
-
#instance_id ⇒ String
The ‘InstanceID` of the EC2 instance that is hosting the compute.
-
#ip_address ⇒ String
The IP address of a compute resource.
-
#location ⇒ String
The name of the custom location you added to the fleet that this compute resource resides in.
-
#operating_system ⇒ String
The type of operating system on the compute resource.
-
#type ⇒ String
The Amazon EC2 instance type that the fleet uses.
Instance Attribute Details
#compute_arn ⇒ String
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.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#compute_name ⇒ String
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.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#compute_status ⇒ String
Current status of the compute. A compute must have an ‘ACTIVE` status to host game sessions.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#container_attributes ⇒ Array<Types::ContainerAttribute>
A set of attributes for each container in the compute.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#creation_time ⇒ Time
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example ‘“1469498468.057”`).
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#dns_name ⇒ String
The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#fleet_arn ⇒ String
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#fleet_id ⇒ String
A unique identifier for the fleet that the compute belongs to.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#game_lift_agent_endpoint ⇒ String
The endpoint of the Amazon GameLift Agent.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#game_lift_service_sdk_endpoint ⇒ String
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.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#game_server_container_group_definition_arn ⇒ String
The game server container group definition for the compute.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#instance_id ⇒ String
The ‘InstanceID` of the EC2 instance that is hosting the compute.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#ip_address ⇒ String
The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#location ⇒ String
The name of the custom location you added to the fleet that this compute resource resides in.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#operating_system ⇒ String
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
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |
#type ⇒ String
The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 |
# File 'lib/aws-sdk-gamelift/types.rb', line 516 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, :game_server_container_group_definition_arn) SENSITIVE = [:ip_address] include Aws::Structure end |