get_function_recursion_config¶
Operation¶
get_function_recursion_config
async
¶
get_function_recursion_config(input: GetFunctionRecursionConfigInput, plugins: list[Plugin] | None = None) -> GetFunctionRecursionConfigOutput
Returns your function's recursive loop detection configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetFunctionRecursionConfigInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
GetFunctionRecursionConfigOutput
|
An instance of |
Input¶
GetFunctionRecursionConfigInput
dataclass
¶
Output¶
GetFunctionRecursionConfigOutput
dataclass
¶
Dataclass for GetFunctionRecursionConfigOutput structure.
Attributes¶
recursive_loop
class-attribute
instance-attribute
¶
recursive_loop: RecursiveLoop | None = None
If your function's recursive loop detection configuration is Allow,
Lambda doesn't take any action when it detects your function being
invoked as part of a recursive loop.
If your function's recursive loop detection configuration is
Terminate, Lambda stops your function being invoked and notifies you
when it detects your function being invoked as part of a recursive loop.
By default, Lambda sets your function's configuration to Terminate.
You can update this configuration using the PutFunctionRecursionConfig
action.