class
Amazonite::Lambda::CallbackOptions
- Amazonite::Lambda::CallbackOptions
- Reference
- Object
Overview
Configuration options for callback operations in durable executions, including timeout settings and retry behavior.
Included Modules
- JSON::Serializable
Defined in:
lambda/callback_options.crConstructors
- .new(pull : JSON::PullParser)
- .new(timeout_seconds : Int32 | Nil = nil, heartbeat_timeout_seconds : Int32 | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#heartbeat_timeout_seconds : Int32 | Nil
The heartbeat timeout for the callback operation, in seconds.
-
#heartbeat_timeout_seconds=(heartbeat_timeout_seconds : Int32 | Nil)
The heartbeat timeout for the callback operation, in seconds.
-
#timeout_seconds : Int32 | Nil
The timeout for the callback operation in seconds.
-
#timeout_seconds=(timeout_seconds : Int32 | Nil)
The timeout for the callback operation in seconds.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The heartbeat timeout for the callback operation, in seconds. If not specified or set to 0, heartbeat timeout is disabled.
The heartbeat timeout for the callback operation, in seconds. If not specified or set to 0, heartbeat timeout is disabled.
The timeout for the callback operation in seconds. If not specified or set to 0, the callback has no timeout.
The timeout for the callback operation in seconds. If not specified or set to 0, the callback has no timeout.