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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-10-31T19:13:08.011Z") @Stability(Experimental) public class Runtime extends software.amazon.jsii.JsiiObject
(experimental) Available Flink runtimes for Kinesis Analytics.

Example:

 Bucket bucket;
 Application flinkApp = Application.Builder.create(this, "Application")
         .code(ApplicationCode.fromBucket(bucket, "my-app.jar"))
         .runtime(Runtime.FLINK_1_20)
         .checkpointingEnabled(true) // default is true
         .checkpointInterval(Duration.seconds(30)) // default is 1 minute
         .minPauseBetweenCheckpoints(Duration.seconds(10)) // default is 5 seconds
         .logLevel(LogLevel.ERROR) // default is INFO
         .metricsLevel(MetricsLevel.PARALLELISM) // default is APPLICATION
         .autoScalingEnabled(false) // default is true
         .parallelism(32) // default is 1
         .parallelismPerKpu(2) // default is 1
         .snapshotsEnabled(false) // default is true
         .logGroup(new LogGroup(this, "LogGroup"))
         .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) Flink Version 1.11.
    static final Runtime
    (experimental) Flink Version 1.13.
    static final Runtime
    (experimental) Flink Version 1.15.
    static final Runtime
    (experimental) Flink Version 1.18.
    static final Runtime
    (experimental) Flink Version 1.19.
    static final Runtime
    (experimental) Flink Version 1.20.
    static final Runtime
    (experimental) Flink Version 1.6.
    static final Runtime
    (experimental) Flink Version 1.8.
  • 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 Cfn string that represents a version of Flink.
    static Runtime
    of(String value)
    (experimental) Create a new Runtime with with an arbitrary Flink version string.

    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

  • 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 value)
      (experimental) Create a new Runtime with with an arbitrary Flink version string.

      Parameters:
      value - This parameter is required.
    • getValue

      @Stability(Experimental) @NotNull public String getValue()
      (experimental) The Cfn string that represents a version of Flink.