Skip to content

Instantly share code, notes, and snippets.

@udhos
Last active August 9, 2021 22:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save udhos/8a9646a6ba5d19656e53b50bd10d0bab to your computer and use it in GitHub Desktop.
lambda_invokation.md

There are three ways Lambda function can get data from other services:

Services that Lambda reads events from

Note: this isn't sync nor async.

  • Amazon DynamoDB
  • Amazon Kinesis
  • Amazon MQ
  • Amazon Managed Streaming for Apache Kafka
  • self-managed Apache Kafka
  • Amazon Simple Queue Service

Services that invoke Lambda functions synchronously

  • Elastic Load Balancing (Application Load Balancer)
  • Amazon Cognito
  • Amazon connect
  • Amazon Lex
  • Amazon Alexa
  • Amazon API Gateway
  • Amazon CloudFront (Lambda@Edge)
  • Amazon Kinesis Data Firehose
  • Amazon Simple Storage Service Batch
  • Secrets Manager

Services that invoke Lambda functions asynchronously

Note: only this option works with Lambda Destinations.

  • Amazon Simple Storage Service
  • Amazon Simple Notification Service
  • Amazon Simple Email Service
  • AWS CloudFormation
  • Amazon CloudWatch Logs
  • Amazon CloudWatch Events
  • AWS CodeCommit
  • AWS Config
  • AWS IoT
  • AWS IoT Events
  • AWS CodePipeline

Reference: https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment