We created an SQS queue event in this recipe using the aws lambda create-event-source-mapping command. We can also use this command to define the following event sources: Kinesis Data Streams and DynamoDB streams.
AWS supports the following triggers for Lambda:
- S3
- DynamoDB
- Kinesis Data Streams
- SNS
- SES
- SQS
- Cognito
- CloudFormation
- CloudWatch Logs
- CloudWatch Events
- CodeCommit
- Scheduled Events powered by CloudWatch Events
- AWS Config
- Alexa
- Lex
- API gateway
- AWS IoT Button
- CloudFront
- Kinesis Data Firehose