Interface ScriptAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ScriptAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:25.781Z") @Stability(Experimental) public interface ScriptAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Represents a Script content defined outside of this stack.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.gamelift.alpha.*;
 import software.amazon.awscdk.services.iam.*;
 Role role;
 ScriptAttributes scriptAttributes = ScriptAttributes.builder()
         .scriptArn("scriptArn")
         // the properties below are optional
         .role(role)
         .build();
 
  • Method Details

    • getScriptArn

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

      @Stability(Experimental) @Nullable default IRole getRole()
      (experimental) The IAM role assumed by GameLift to access server script in S3.

      Default: - undefined

    • builder

      @Stability(Experimental) static ScriptAttributes.Builder builder()
      Returns:
      a ScriptAttributes.Builder of ScriptAttributes