aws-lambda-event-identifier
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -22,3 +22,3 @@ exports.eventIdentifier = function(data){ | ||
if(data.Records[0].eventSource == "aws:kinesis"){ | ||
return "s3"; | ||
return "kinesis"; | ||
} | ||
@@ -25,0 +25,0 @@ } |
{ | ||
"name": "aws-lambda-event-identifier", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Used to return a type of input event from aws lambda", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,1 +23,10 @@ # aws-lambda-event-identifier | ||
``` | ||
## Expected output | ||
- SNS Messages: "sns" | ||
- DynamoDb Resource: "dynamodb" | ||
- Cloudwatch Logs: "cloudwatch" | ||
- Scheduled events (CRON) : "scheduled" | ||
- S3 Buckets events: "s3" | ||
- Kinesis events: "kinesis" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1659
32