AWS SDK Version 3 for .NET
API Reference

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 operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Registers a compute resource in an Amazon GameLift fleet. Register computes with an Amazon GameLift Anywhere fleet or a container fleet.

For an Anywhere fleet or a container fleet that's running the Amazon GameLift 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 SDK endpoint or Agent endpoint. Game server processes running on the compute can use this endpoint to communicate with the Amazon GameLift service. Each server process includes the SDK endpoint in its call to the Amazon GameLift server SDK action InitSDK().

To view compute details, call DescribeCompute with the compute name.

Learn more

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.GameLift.AmazonGameLiftRequest
      Amazon.GameLift.Model.RegisterComputeRequest

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class RegisterComputeRequest : AmazonGameLiftRequest
         IAmazonWebServiceRequest

The RegisterComputeRequest type exposes the following members

Constructors

NameDescription
Public Method RegisterComputeRequest()

Properties

NameTypeDescription
Public Property CertificatePath System.String

Gets and sets the property CertificatePath.

The path to a TLS certificate on your compute resource. Amazon GameLift doesn't validate the path and certificate.

Public Property ComputeName System.String

Gets and sets the property ComputeName.

A descriptive label for the compute resource.

Public Property DnsName System.String

Gets and sets the property DnsName.

The DNS name of the compute resource. Amazon GameLift requires either a DNS name or IP address.

Public Property 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.

Public Property IpAddress System.String

Gets and sets the property IpAddress.

The IP address of the compute resource. Amazon GameLift requires either a DNS name or IP address. When registering an Anywhere fleet, an IP address is required.

Public Property 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.

Version Information

.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