{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/DestinationConfig", "title": "DestinationConfig", "type": "object", "properties": { "OnSuccess": { "allOf": [ { "$ref": "#/components/schemas/OnSuccess" }, { "description": "The destination configuration for successful invocations." } ] }, "OnFailure": { "allOf": [ { "$ref": "#/components/schemas/OnFailure" }, { "description": "The destination configuration for failed invocations." } ] } }, "description": "A configuration object that specifies the destination of an event after Lambda processes it." }