Class ScriptProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.alpha.ScriptProps.Jsii$Proxy
All Implemented Interfaces:
ScriptProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ScriptProps

@Stability(Experimental) @Internal public static final class ScriptProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScriptProps
An implementation for ScriptProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.gamelift.alpha.ScriptProps

    ScriptProps.Builder, ScriptProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ScriptProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Content
    (experimental) The game content.
    final IRole
    (experimental) The IAM role assumed by GameLift to access server script in S3.
    final String
    (experimental) Name of this realtime server script.
    final String
    (experimental) Version of this realtime server script.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ScriptProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ScriptProps.Builder.
  • Method Details

    • getContent

      public final Content getContent()
      Description copied from interface: ScriptProps
      (experimental) The game content.
      Specified by:
      getContent in interface ScriptProps
    • getRole

      public final IRole getRole()
      Description copied from interface: ScriptProps
      (experimental) The IAM role assumed by GameLift to access server script in S3.

      If providing a custom role, it needs to trust the GameLift service principal (gamelift.amazonaws.com) and be granted sufficient permissions to have Read access to a specific key content into a specific S3 bucket. Below an example of required permission: { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action": [ "s3:GetObject", "s3:GetObjectVersion" ], "Resource": "arn:aws:s3:::bucket-name/object-name" }] }

      Default: - a role will be created with default permissions.

      Specified by:
      getRole in interface ScriptProps
      See Also:
    • getScriptName

      public final String getScriptName()
      Description copied from interface: ScriptProps
      (experimental) Name of this realtime server script.

      Default: No name

      Specified by:
      getScriptName in interface ScriptProps
    • getScriptVersion

      public final String getScriptVersion()
      Description copied from interface: ScriptProps
      (experimental) Version of this realtime server script.

      Default: No version

      Specified by:
      getScriptVersion in interface ScriptProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object