Event Sources
June 28, 2026 · View on GitHub
This is the catalog of AWS Lambda event sources supported by osls. Each event source can be attached to a function under the events key in serverless.yml. For general information on how Lambda events work in osls, see the events guide.
HTTP
- HTTP API (API Gateway v2) — Deploy low-latency, low-cost HTTP APIs using API Gateway v2.
- REST API (API Gateway v1) — Deploy full-featured REST APIs using API Gateway v1.
- Application Load Balancer — Route incoming HTTP(S) requests from an ALB directly to Lambda functions.
- Websocket — Build bi-directional, real-time communication channels via API Gateway WebSocket APIs.
Other event sources
- ActiveMQ — Trigger functions from messages on an Amazon MQ ActiveMQ broker.
- Alexa Skill — Invoke functions in response to Alexa Skill requests.
- Alexa Smart Home — Invoke functions from Alexa Smart Home skill events.
- CloudFront — Run functions at CloudFront edge locations (Lambda@Edge) to process CDN requests and responses.
- CloudWatch Event — Trigger functions from CloudWatch (EventBridge) events. (Consider EventBridge for new projects.)
- CloudWatch Log — Trigger functions from CloudWatch Logs log group subscriptions.
- Cognito User Pool — Invoke functions from Cognito User Pool lifecycle triggers.
- EventBridge — React to events from AWS services, SaaS, and your own applications via Amazon EventBridge.
- IoT — Trigger functions from AWS IoT rule events.
- IoT Fleet Provisioning — Invoke functions during AWS IoT fleet provisioning hooks.
- Kafka — Consume records from a self-managed Apache Kafka cluster.
- MSK — Consume records from an Amazon Managed Streaming for Apache Kafka (MSK) cluster.
- RabbitMQ — Trigger functions from messages on an Amazon MQ RabbitMQ broker.
- S3 — Invoke functions in response to Amazon S3 bucket object events.
- Schedule — Run functions on a recurring schedule using
rateorcronexpressions. - SNS — Invoke functions when messages are published to an Amazon SNS topic.
- SQS — Process messages from an Amazon SQS queue.
- DynamoDB / Kinesis Streams — Consume records from DynamoDB Streams or Kinesis Data Streams.