java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.Runtime
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.586Z") @Stability(Experimental) public class Runtime extends software.amazon.jsii.JsiiObject
(experimental) AWS Glue runtime determines the runtime engine of the job.

Example:

 Job.Builder.create(this, "RayJob")
         .executable(JobExecutable.pythonRay(PythonRayExecutableProps.builder()
                 .glueVersion(GlueVersion.V4_0)
                 .pythonVersion(PythonVersion.THREE_NINE)
                 .runtime(Runtime.RAY_TWO_FOUR)
                 .script(Code.fromAsset(join(__dirname, "job-script", "hello_world.py")))
                 .build()))
         .workerType(WorkerType.Z_2X)
         .workerCount(2)
         .description("an example Ray job")
         .build();
 
  • Nested Class Summary

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

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Runtime
    (experimental) Runtime for a Glue for Ray 2.4.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Runtime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Runtime(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The name of this Runtime.
    static Runtime
    of(String runtime)
    (experimental) Custom runtime.

    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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • RAY_TWO_FOUR

      @Stability(Experimental) public static final Runtime RAY_TWO_FOUR
      (experimental) Runtime for a Glue for Ray 2.4.
  • Constructor Details

    • Runtime

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

      protected Runtime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Experimental) @NotNull public static Runtime of(@NotNull String runtime)
      (experimental) Custom runtime.

      Parameters:
      runtime - custom runtime. This parameter is required.
    • getName

      @Stability(Experimental) @NotNull public String getName()
      (experimental) The name of this Runtime.