Module Values.ComputeSource

An Amazon GameLift Servers compute resource for hosting your game servers. Computes in an Amazon GameLift Servers 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.

Sourcetype nonrec t = {
  1. fleetId : FleetId.t option;
    (*

    A unique identifier for the fleet that the compute belongs to.

    *)
  2. fleetArn : FleetArn.t option;
    (*

    The Amazon Resource Name (ARN) of the fleet that the compute belongs to.

    *)
  3. computeName : ComputeName.t option;
    (*

    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.

    *)
  4. computeArn : ComputeArn.t option;
    (*

    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.

    *)
  5. ipAddress : IpAddress.t option;
    (*

    The IP address of a compute resource. Amazon GameLift Servers requires a DNS name or IP address for a compute.

    *)
  6. dnsName : DnsName.t option;
    (*

    The DNS name of a compute resource. Amazon GameLift Servers requires a DNS name or IP address for a compute.

    *)
  7. computeStatus : ComputeStatus.t option;
    (*

    Current status of the compute. A compute must have an ACTIVE status to host game sessions. Valid values include PENDING, ACTIVE, TERMINATING, and IMPAIRED. While the ComputeStatus enum type is valid for Container based servers, the result may also include other non-enumerated string values such as "Active" for fleets which are not Container-based.

    *)
  8. location : LocationStringModel.t option;
    (*

    The name of the custom location you added to the fleet that this compute resource resides in.

    *)
  9. creationTime : Timestamp.t option;
    (*

    A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

    *)
  10. operatingSystem : OperatingSystem.t option;
    (*

    The type of operating system on the compute resource. Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to server SDK version 5.

    *)
  11. type_ : EC2InstanceType.t option;
    (*

    The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Servers Anywhere fleet, this property is empty.

    *)
  12. gameLiftServiceSdkEndpoint : GameLiftServiceSdkEndpointOutput.t option;
    (*

    The Amazon GameLift Servers 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 Servers service.

    *)
  13. gameLiftAgentEndpoint : GameLiftAgentEndpointOutput.t option;
    (*

    The endpoint of the Amazon GameLift Servers Agent.

    *)
  14. instanceId : InstanceId.t option;
    (*

    The InstanceID of the EC2 instance that is hosting the compute.

    *)
  15. containerAttributes : ContainerAttributes.t option;
    (*

    A set of attributes for each container in the compute.

    *)
  16. gameServerContainerGroupDefinitionArn : ContainerGroupDefinitionNameOrArn.t option;
    (*

    The game server container group definition for the compute.

    *)
}
Sourceval make : ?fleetId:??? -> ?fleetArn:??? -> ?computeName:??? -> ?computeArn:??? -> ?ipAddress:??? -> ?dnsName:??? -> ?computeStatus:??? -> ?location:??? -> ?creationTime:??? -> ?operatingSystem:??? -> ?type_:??? -> ?gameLiftServiceSdkEndpoint:??? -> ?gameLiftAgentEndpoint:??? -> ?instanceId:??? -> ?containerAttributes:??? -> ?gameServerContainerGroupDefinitionArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of NonZeroAnd128MaxAsciiString.t ]) list ] list | `String of FleetId.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t