java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.gamelift.alpha.ScriptBase
All Implemented Interfaces:
IEnvironmentAware, IResource, IScript, IGrantable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
Script

@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-10T13:40:18.071Z") @Stability(Experimental) public abstract class ScriptBase extends Resource implements IScript
(experimental) Base class for new and imported GameLift realtime server script.
  • Constructor Details

    • ScriptBase

      protected ScriptBase(software.amazon.jsii.JsiiObjectRef objRef)
    • ScriptBase

      protected ScriptBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ScriptBase

      @Stability(Stable) protected ScriptBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • ScriptBase

      @Stability(Stable) protected ScriptBase(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • getGrantPrincipal

      @Stability(Experimental) @NotNull public abstract IPrincipal getGrantPrincipal()
      (experimental) The principal to grant permissions to.
      Specified by:
      getGrantPrincipal in interface IGrantable
    • getScriptArn

      @Stability(Experimental) @NotNull public abstract String getScriptArn()
      (experimental) The ARN of the realtime server script.
      Specified by:
      getScriptArn in interface IScript
    • getScriptId

      @Stability(Experimental) @NotNull public abstract String getScriptId()
      (experimental) The Identifier of the realtime server script.
      Specified by:
      getScriptId in interface IScript