DurableConfig
Configuration settings for durable functions, including execution timeout, retention period for execution history, and an optional ARN of the AWS Key Management Service (AWS KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
Contents
- ExecutionTimeout
-
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.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 31622400.
Required: No
- KMSKeyArn
-
The ARN of the AWS Key Management Service (AWS KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
Type: String
Pattern:
(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()Required: No
- RetentionPeriodInDays
-
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.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 90.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: