Interface CfnApplicationV2.ParallelismConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationV2.ParallelismConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnApplicationV2
@Stability(Stable)
public static interface CfnApplicationV2.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.kinesisanalytics.*; ParallelismConfigurationProperty parallelismConfigurationProperty = ParallelismConfigurationProperty.builder() .configurationType("configurationType") // the properties below are optional .autoScalingEnabled(false) .parallelism(123) .parallelismPerKpu(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApplicationV2.ParallelismConfigurationProperty
static final class
An implementation forCfnApplicationV2.ParallelismConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service.default Number
Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.default Number
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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationType
Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service.You must set this property to
CUSTOM
in order to change your application'sAutoScalingEnabled
,Parallelism
, orParallelismPerKPU
properties.- See Also:
-
getAutoScalingEnabled
Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.- See Also:
-
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
.- See Also:
-
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 .
- See Also:
-
builder
-