- Intro,
- Lambda Integration Categories Event Sources ( Auto-Triggers Lambda),
- Lambda Integration Categories Event Sources ( Induced-Triggers with SDK/API to Lambda),
- Security & Identity Integrations,
- Sample Thumbnail Archtecture & Integration of Lambda.
- Here’s twtech comprehensive list of AWS services that integrate with AWS Lambda, organized by category for clarity:
Lambda Integration Categories Event Sources (Triggers Lambda)
NB:
- These services can invoke
Lambda automatically based on an event:
|
Category |
Service |
Description |
|
Compute. |
API Gateway |
HTTP requests trigger Lambda (REST
or HTTP APIs) |
|
AWS App Runner |
Custom health checks using Lambda |
|
|
Storage. |
Amazon S3 |
Trigger on object upload, delete,
etc. |
|
Database. |
Amazon DynamoDB |
Trigger on table updates via
Streams |
|
Amazon Aurora (MySQL/PostgreSQL) |
Trigger from DB events using
stored procedures |
|
|
Messaging. |
Amazon SNS |
Publish/subscribe messaging –
trigger Lambda on topic |
|
Amazon SQS |
Message queue triggers Lambda |
|
|
Analytics. |
Amazon Kinesis Data Streams |
Real-time data stream processing |
|
Amazon MSK (Kafka) |
Kafka topics trigger Lambda |
|
|
Monitoring. |
Amazon EventBridge / CloudWatch
Events |
Scheduled events or system events |
|
CloudWatch Logs |
Stream logs to Lambda for analysis |
|
|
IoT. |
AWS IoT Core |
Trigger on device messages |
|
App Services. |
Amazon Lex / Alexa |
Trigger Lambda for chatbot or
voice interactions |
Lambda Integration Categories Services That Lambda Can Call (via SDK/API)
NB:
- Lambda can use the AWS SDK to interact with any AWS service, such as:
|
Category |
Service |
Use Case |
|
Storage. |
Amazon S3 |
Read/write files |
|
Database. |
DynamoDB |
CRUD operations on NoSQL data |
|
Amazon RDS / Aurora |
Connect using RDS Proxy or direct
drivers |
|
|
Compute. |
EC2 / ECS / EKS |
Start, stop, or manage compute
resources |
|
AI/ML. |
Amazon Rekognition |
Image/video analysis |
|
Amazon Comprehend |
Natural language processing |
|
|
Amazon Translate / Polly /
Textract |
Language and document AI |
|
|
Notifications. |
SNS / SQS |
Send messages or queue tasks |
|
Security. |
AWS IAM |
Manage roles and policies (rarely
directly) |
|
AWS Secrets Manager / SSM
Parameter Store |
Retrieve secure configs |
|
|
DevOps. |
CloudFormation |
Automate infrastructure |
|
CodePipeline / CodeBuild |
Custom build or deployment steps |
|
|
Billing. |
AWS Cost Explorer |
Monitor cost or usage
programmatically |
Security &
Identity Integrations
|
Service |
Purpose |
|
IAM (Identity & Access
Management). |
Manage Lambda permissions and
execution roles |
|
Resource-based policies. |
Control which services/users can
invoke the Lambda |
|
VPC. |
Connect Lambda to private
subnets/resources |
|
Cognito. |
Use Lambda in
authentication/authorization flows |
twtech Sample Thumbnail Archtecture & Integration of Lambda:
- A twtech-user uploads a profile photo to S3 → This triggers a Lambda function → Lambda resizes the image and stores it back in another S3 bucket → Sends a notification via SNS → Logs are saved to CloudWatch Logs.
No comments:
Post a Comment