Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 1.23 KB

LambdaFunctionTargetParameters.md

File metadata and controls

54 lines (29 loc) · 1.23 KB

serverless-pipes / Exports / LambdaFunctionTargetParameters

It defines LambdaFunction as the target for the EventBridge Pipes.

Usage

# serverless.yml

pipes:
  pipeName:
    target:
      lambda:
        ...properties

Table of contents

Properties

Properties

arn

arn: object | string

The arn of the event target.

Defined in

schema.ts:153

invocationType (optional)

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.

Defined in

schema.ts:163