Lambda / Client / get_function_recursion_config

get_function_recursion_config#

Lambda.Client.get_function_recursion_config(**kwargs)#

Returns your function’s recursive loop detection configuration.

See also: AWS API Documentation

Request Syntax

response = client.get_function_recursion_config(
    FunctionName='string'
)
Parameters:

FunctionName (string) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{
    'RecursiveLoop': 'Allow'|'Terminate'
}

Response Structure

  • (dict) –

    • RecursiveLoop (string) –

      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.

Exceptions