All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IGrantable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IScript.Jsii$Default
All Known Implementing Classes:
IScript.Jsii$Proxy, Script, ScriptBase

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.708Z") @Stability(Experimental) public interface IScript extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable
(experimental) Your configuration and custom game logic for use with Realtime Servers.

Realtime Servers are provided by GameLift to use instead of a custom-built game server. You configure Realtime Servers for your game clients by creating a script using JavaScript, and add custom game logic as appropriate to host game sessions for your players. You upload the Realtime script to the GameLift service in the Regions where you plan to set up fleets.

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IScript.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The ARN of the realtime server script.
    (experimental) The Identifier of the realtime server script.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable

    getGrantPrincipal

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getScriptArn

      @Stability(Experimental) @NotNull String getScriptArn()
      (experimental) The ARN of the realtime server script.
    • getScriptId

      @Stability(Experimental) @NotNull String getScriptId()
      (experimental) The Identifier of the realtime server script.