Interface CfnFunction.DurableConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.DurableConfigProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
@Stability(Stable)
public static interface CfnFunction.DurableConfigProperty
extends software.amazon.jsii.JsiiSerializable
Configuration settings for durable functions , including execution timeout and retention period for execution history.
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.lambda.*;
DurableConfigProperty durableConfigProperty = DurableConfigProperty.builder()
.executionTimeout(123)
// the properties below are optional
.retentionPeriodInDays(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.DurableConfigPropertystatic final classAn implementation forCfnFunction.DurableConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExecutionTimeout
The maximum time (in seconds) that a durable execution can run before timing out.This timeout applies to the entire durable execution, not individual function invocations.
- See Also:
-
getRetentionPeriodInDays
The number of days to retain execution history after a durable execution completes.After this period, execution history is no longer available through the GetDurableExecutionHistory API.
Default: - 14
- See Also:
-
builder
-