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.
Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z
public class Script
The Script type exposes the following members
| Name | Description | |
|---|---|---|
|
Script() |
| Name | Type | Description | |
|---|---|---|---|
|
CreationTime | System.Nullable<System.DateTime> |
Gets and sets the property CreationTime.
A time stamp indicating when this data object was created. Format is a number expressed
in Unix time as milliseconds (for example |
|
Name | System.String |
Gets and sets the property Name. A descriptive label that is associated with a script. Script names do not need to be unique. |
|
NodeJsVersion | System.String |
Gets and sets the property NodeJsVersion.
The Node.js version used for execution of your Realtime script. The valid values are
Node.js 10 will reach end of support on September 30, 2026. See more details in the Node.js 10 FAQs. For migration guidance, see Migrating from Node.js 10 to 24. |
|
ScriptArn | System.String |
Gets and sets the property ScriptArn. 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. |
|
ScriptId | System.String |
Gets and sets the property ScriptId. A unique identifier for the Realtime script |
|
SizeOnDisk | System.Nullable<System.Int64> |
Gets and sets the property SizeOnDisk. The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0". |
|
StorageLocation | Amazon.GameLift.Model.S3Location |
Gets and sets the property StorageLocation.
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
|
|
Version | System.String |
Gets and sets the property Version. Version information that is associated with a build or script. Version strings do not need to be unique. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer