Skip to content
/ aws Public

Package to wrap AWS services implementations

License

Notifications You must be signed in to change notification settings

Coaktion/aws

Repository files navigation

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

About

Package to wrap AWS services implementations

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published