@coaktion/aws
v1.1.1
Published
Module to wrap AWS services implementations.
Downloads
22
Readme
Coaktion AWS
Module to wrap AWS services implementations.
Currently, supporting:
- SNS publish
Installation
npm install @coaktion/aws
Usage
const handler = new SNSHandler({
region: process.env.AWS_REGION,
credentials: {
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
}
})
handler.publish({
topicArn: 'arn:aws:sns:us-east-1:123456789012:my-topic',
message: 'Hello World!'
})
License
Coaktion AWS is MIT
Authors
- Gustavo Inácio - Initial work - gustavo inacio