AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the RegisterCompute operation. This API works with the following fleet types: Anywhere, Container
Registers a compute resource in an Amazon GameLift Servers Anywhere fleet.
For an Anywhere fleet that's running the Amazon GameLift Servers Agent, the Agent handles all compute registry tasks for you. For an Anywhere fleet that doesn't use the Agent, call this operation to register fleet computes.
To register a compute, give the compute a name (must be unique within the fleet) and specify the compute resource's DNS name or IP address. Provide a fleet ID and a fleet location to associate with the compute being registered. You can optionally include the path to a TLS certificate on the compute resource.
If successful, this operation returns compute details, including an Amazon GameLift
Servers SDK endpoint or Agent endpoint. Game server processes running on the compute
can use this endpoint to communicate with the Amazon GameLift Servers service. Each
server process includes the SDK endpoint in its call to the Amazon GameLift Servers
server SDK action InitSDK().
To view compute details, call DescribeCompute with the compute name.
Learn more
Server SDK reference guides (for version 5.x)
Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z
public class RegisterComputeRequest : AmazonGameLiftRequest IAmazonWebServiceRequest
The RegisterComputeRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
RegisterComputeRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
CertificatePath | System.String |
Gets and sets the property CertificatePath. The path to a TLS certificate on your compute resource. Amazon GameLift Servers doesn't validate the path and certificate. |
|
ComputeName | System.String |
Gets and sets the property ComputeName. A descriptive label for the compute resource. |
|
DnsName | System.String |
Gets and sets the property DnsName. The DNS name of the compute resource. Amazon GameLift Servers requires either a DNS name or IP address. |
|
FleetId | System.String |
Gets and sets the property FleetId. A unique identifier for the fleet to register the compute to. You can use either the fleet ID or ARN value. |
|
IpAddress | System.String |
Gets and sets the property IpAddress. The IP address of the compute resource. Amazon GameLift Servers requires either a DNS name or IP address. When registering an Anywhere fleet, an IP address is required. |
|
Location | System.String |
Gets and sets the property Location. The name of a custom location to associate with the compute resource being registered. This parameter is required when registering a compute for an Anywhere fleet. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5