Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILambdaFunction

Serverless' special syntax for AWS Lambda functions.

Hierarchy

  • ILambdaFunction

Index

Properties

Properties

Optional events

events: ILambdaEvent[]

Every Lambda can have multiple trigger events

handler

handler: string

Path to javascript file + exported member to invoke from AWS Lambda. Example: 'dist/api/Frontend.handler'

Optional timeout

timeout: number

Number of seconds before the lambda will get terminated. Functions with HTTP events are routed through AWS API Gateway and are terminated after a maximum of 30 seconds. Non-HTTP Lambdas are terminated after a maximum of 5 minutes.

Generated using TypeDoc