class
Amazonite::Lambda::DurableConfig
- Amazonite::Lambda::DurableConfig
- Reference
- Object
Overview
Configuration settings for durable functions, including execution timeout, retention period for execution history, and an optional ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
Included Modules
- JSON::Serializable
Defined in:
lambda/durable_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(kms_key_arn : String | Nil = nil, retention_period_in_days : Int32 | Nil = nil, execution_timeout : Int32 | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#execution_timeout : Int32 | Nil
The maximum time (in seconds) that a durable execution can run before timing out.
-
#execution_timeout=(execution_timeout : Int32 | Nil)
The maximum time (in seconds) that a durable execution can run before timing out.
-
#hash(hasher)
See
Object#hash(hasher) -
#kms_key_arn : String | Nil
The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
-
#kms_key_arn=(kms_key_arn : String | Nil)
The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
-
#retention_period_in_days : Int32 | Nil
The number of days to retain execution history after a durable execution completes.
-
#retention_period_in_days=(retention_period_in_days : Int32 | Nil)
The number of days to retain execution history after a durable execution completes.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
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.
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.