Skip to content

Commit c83b74c

Browse files
committed
feat: add S3 event source with auto-detection
1 parent 1132c1a commit c83b74c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/event-sources/utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ function getEventSourceNameBasedOnEvent ({
8585
if (eventSource === 'aws:kinesis') {
8686
return 'AWS_KINESIS_DATA_STREAM'
8787
}
88+
if (eventSource === 'aws:s3') {
89+
return 'AWS_S3'
90+
}
8891
return 'AWS_LAMBDA_EDGE'
8992
}
9093
if (event.requestContext) {

0 commit comments

Comments
 (0)