Interface CfnApplication.ParallelismConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.ParallelismConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnApplication
@Stability(Stable)
public static interface CfnApplication.ParallelismConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 .
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.kinesisanalyticsv2.*;
ParallelismConfigurationProperty parallelismConfigurationProperty = ParallelismConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.autoScalingEnabled(false)
.parallelism(123)
.parallelismPerKpu(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplication.ParallelismConfigurationPropertystatic final classAn implementation forCfnApplication.ParallelismConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDescribes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.default NumberDescribes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.default NumberDescribes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationType
Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.You must set this property to
CUSTOMin order to change your application'sAutoScalingEnabled,Parallelism, orParallelismPerKPUproperties. -
getAutoScalingEnabled
Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput. -
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
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
-