interface CheckpointConfigurationProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.KinesisAnalytics.CfnApplicationV2.CheckpointConfigurationProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisanalytics#CfnApplicationV2_CheckpointConfigurationProperty | 
|  Java | software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.CheckpointConfigurationProperty | 
|  Python | aws_cdk.aws_kinesisanalytics.CfnApplicationV2.CheckpointConfigurationProperty | 
|  TypeScript | aws-cdk-lib»aws_kinesisanalytics»CfnApplicationV2»CheckpointConfigurationProperty | 
Describes an application's checkpointing configuration.
Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance 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 { aws_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const checkpointConfigurationProperty: kinesisanalytics.CfnApplicationV2.CheckpointConfigurationProperty = {
  configurationType: 'configurationType',
  // the properties below are optional
  checkpointingEnabled: false,
  checkpointInterval: 123,
  minPauseBetweenCheckpoints: 123,
};
Properties
| Name | Type | Description | 
|---|---|---|
| configuration | string | Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. | 
| checkpoint | number | Describes the interval in milliseconds between checkpoint operations. | 
| checkpointing | boolean | IResolvable | Describes whether checkpointing is enabled for a Managed Service for Apache Flink application. | 
| min | number | Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. | 
configurationType
Type:
string
Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior.
You must set this property to CUSTOM in order to set the CheckpointingEnabled , CheckpointInterval , or MinPauseBetweenCheckpoints parameters.
If this value is set to
DEFAULT, the application will use the following values, even if they are set to other values using APIs or application code:
- CheckpointingEnabled: true
- CheckpointInterval: 60000
- MinPauseBetweenCheckpoints: 5000
checkpointInterval?
Type:
number
(optional)
Describes the interval in milliseconds between checkpoint operations.
If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aCheckpointIntervalvalue of 60000, even if this value is set to another value using this API or in application code.
checkpointingEnabled?
Type:
boolean | IResolvable
(optional)
Describes whether checkpointing is enabled for a Managed Service for Apache Flink application.
If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aCheckpointingEnabledvalue oftrue, even if this value is set to another value using this API or in application code.
minPauseBetweenCheckpoints?
Type:
number
(optional)
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
If a checkpoint operation takes longer than the CheckpointInterval , the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation .
If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aMinPauseBetweenCheckpointsvalue of 5000, even if this value is set using this API or in application code.
