Class: Aws::GameLift::Types::Compute
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::Compute
- 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
-
#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 ⇒ Types::ContainerAttributes
Some attributes of a container.
-
#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.
-
#instance_id ⇒ String
The ‘InstanceID` of the `Instance` hosting the compute for Container and Managed EC2 fleets.
-
#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.
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_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.
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_status ⇒ String
Current status of the compute. A compute must have an ‘ACTIVE` status to host game sessions.
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_attributes ⇒ Types::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_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”`).
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_name ⇒ String
The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
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_arn ⇒ String
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
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_id ⇒ String
A unique identifier for the fleet that the compute belongs to.
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_endpoint ⇒ String
The endpoint of the Amazon GameLift Agent.
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_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.
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_id ⇒ String
The ‘InstanceID` of the `Instance` hosting the compute for Container and Managed EC2 fleets.
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_address ⇒ String
The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
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 |
#location ⇒ String
The name of the custom location you added to the fleet that this compute resource resides in.
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_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
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 |
#type ⇒ String
The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.
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 |