A configuration object that specifies the destination of an event after Lambda processes it.
OnFailure
The destination configuration for failed invocations.
Type: OnFailure object
Required: No
OnSuccess
The destination configuration for successful invocations.
Type: OnSuccess object
Required: No
For more information about using this API in one of the language-specific AWS SDKs, see the following: