serverless-pipes / Exports / LambdaFunctionTargetParameters
It defines LambdaFunction as the target for the EventBridge Pipes.
# serverless.yml
pipes:
pipeName:
target:
lambda:
...properties
• arn: object
| string
The arn of the event target.
• invocationType: string
Specify whether to invoke the function synchronously or asynchronously.
REQUEST_RESPONSE
(default) - Invoke synchronously. This corresponds to the RequestResponse option in the InvocationType parameter for the Lambda Invoke API.
FIRE_AND_FORGET
- Invoke asynchronously. This corresponds to the Event option in the InvocationType parameter for the Lambda Invoke API.