Interface CfnApplicationV2.ParallelismConfigurationProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnApplicationV2.ParallelismConfigurationProperty extends
Describes parameters for how a Flink-based Kinesis Data Analytics application executes multiple tasks simultaneously.

For more information about parallelism, see Parallel Execution in the Apache Flink Documentation .


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ParallelismConfigurationProperty parallelismConfigurationProperty = ParallelismConfigurationProperty.builder()
         // the properties below are optional
  • Method Details

    • getConfigurationType

      @Stability(Stable) @NotNull String getConfigurationType()
      Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.

      You must set this property to CUSTOM in order to change your application's AutoScalingEnabled , Parallelism , or ParallelismPerKPU properties.

    • getAutoScalingEnabled

      @Stability(Stable) @Nullable default Object getAutoScalingEnabled()
      Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
    • getParallelism

      @Stability(Stable) @Nullable default Number getParallelism()
      Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.

      The Kinesis Data Analytics service can increase this number automatically if ParallelismConfiguration:AutoScalingEnabled is set to true .

    • getParallelismPerKpu

      @Stability(Stable) @Nullable default Number getParallelismPerKpu()
      Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.

      For more information about KPUs, see Amazon Kinesis Data Analytics Pricing .

    • builder

      @Stability(Stable) static CfnApplicationV2.ParallelismConfigurationProperty.Builder builder()
      a CfnApplicationV2.ParallelismConfigurationProperty.Builder of CfnApplicationV2.ParallelismConfigurationProperty