AWS Lambda triggers

Here are some common trigger patterns

API Gateway trigger

  • an HTTP request is sent to AWS API Gateway
  • API Gateway triggers a Lambda function to execute

DynamoDB table change trigger

  • a record in a DynamoDB table is modified
  • DynamoDB triggers a lambda function to execute

S3 trigger

  • a new file is created in S3
  • S3 triggers a Lambda function to execute

SQS trigger

  • a new message is added to an SQS queue
  • SQS triggers a Lambda function to execute