Class GetFunctionRecursionConfigResponse

    • Method Detail

      • recursiveLoop

        public final RecursiveLoop recursiveLoop()

        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.

        If the service returns an enum value that is not available in the current SDK version, recursiveLoop will return RecursiveLoop.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from recursiveLoopAsString().

        Returns:
        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.

        See Also:
        RecursiveLoop
      • recursiveLoopAsString

        public final String recursiveLoopAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, recursiveLoop will return RecursiveLoop.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from recursiveLoopAsString().

        Returns:
        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.

        See Also:
        RecursiveLoop
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object