Skip to Content
Learn AWS Serverless Computing
book

Learn AWS Serverless Computing

by Scott Patterson
December 2019
Intermediate to advanced
382 pages
9h 43m
English
Packt Publishing
Content preview from Learn AWS Serverless Computing

Event sources

The following are the ways in which you can invoke a Lambda function:

  • Via the AWS Lambda invoke API
  • By using an SDK
  • Event sources

We've already touched on the fact that various services in the AWS ecosystem can natively trigger a Lambda function to be invoked. A full list of services that support this can be found in the public developer guide for AWS Lambda, which can be found in the Further reading section. Event sources can also make use of the various invocation types; for example, Amazon SNS will invoke a function asynchronously, as well as Amazon Lex synchronously. Amazon SQS is message-based, so Lambda can read events from the queue.

A useful example to mention is the ability to trigger a Lambda function from a CloudWatch ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Sunil Gulabani

Publisher Resources

ISBN: 9781789958355