# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.gamelift_script.dataset.md

---
title: GameLift Script
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > GameLift Script
---

# GameLift Script

GameLift Script in AWS is a resource that defines custom server logic for multiplayer games hosted on Amazon GameLift. It allows developers to upload and manage server scripts that control game session behavior, matchmaking, and player interactions. Scripts are packaged and deployed to GameLift fleets, enabling flexible customization of game server processes without requiring a full server build.

```
aws.gamelift_script
```

## Fields

| Title            | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Description |
| ---------------- | ---- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key             | core | string     |
| account_id       | core | string     |
| creation_time    | core | timestamp  | A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").                                                                                                                                                                                                                                                                                                                                                                                                                             |
| name             | core | string     | A descriptive label that is associated with a script. Script names do not need to be unique.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| script_arn       | core | string     | The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers script resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift script ARN, the resource ID matches the ScriptId value.                                                                                                                                                                                                                                                                                                                                               |
| script_id        | core | string     | A unique identifier for the Realtime script                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| size_on_disk     | core | int64      | The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| storage_location | core | json       | The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon GameLift Servers to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon GameLift Servers uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion parameter to specify an earlier version. |
| tags             | core | hstore_csv |
| version          | core | string     | Version information that is associated with a build or script. Version strings do not need to be unique.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |