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.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_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.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_status ⇒ String
Current status of the compute. A compute must have an ‘ACTIVE` status to host game sessions.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_attributes ⇒ Types::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 '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_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”`).
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_name ⇒ String
The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_arn ⇒ String
The Amazon Resource Name (ARN) of the fleet that the compute belongs to.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_id ⇒ String
A unique identifier for the fleet that the compute belongs to.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_endpoint ⇒ String
The endpoint of the Amazon GameLift Agent.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_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.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_id ⇒ String
The ‘InstanceID` of the `Instance` hosting the compute for Container and Managed EC2 fleets.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_address ⇒ String
The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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 |
#location ⇒ String
The name of the custom location you added to the fleet that this compute resource resides in.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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_system ⇒ String
The type of operating system on the compute resource.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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 |
#type ⇒ String
The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File '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 |