Serverless functions are on-demand computational concepts. So, there has to be an event that needs to trigger a Lambda function so that the entire computational process is started. AWS Lambda has several events which can act as a trigger. Almost all services of AWS can act as AWS Lambda's triggers. Here is the list of services that you can use for generating events for Lambda to respond to:
- API Gateway
- AWS IoT
- CloudWatch Events
- CloudWatch Logs
- CodeCommit
- Cognito Sync Trigger
- DynamoDB
- Kinesis
- S3
- SNS
The triggers page of AWS Lambda looks like this:
Let's take a look at some of the following important and widely-used triggers that are available, and understand how they can be leveraged as FaaS in the serverless paradigm. They are as follows:
- API Gateway: This trigger can be used to create efficient, scalable, and serverless APIs. One scenario...