Skip to content

Sandyman/sns-event-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNS Event Collector

This package works in conjunction with evanderkoogh's event-collector, but was developed separately.

The function takes as parameter a Topic ARN for SNS, and returns a function that accepts an event-collector and an optional callback function.

Example

const eventCollector = require('event-collector');
const snsEventCollector = require('sns-event-collector')(process.env.TOPIC_ARN);

snsEventCollector(eventCollector, () => {});

About

Helper module to send event-collector logs to SNS

Resources

License

Stars

Watchers

Forks

Packages

No packages published