@benhepburn/adonis-notifications-aws-sns-channel
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

AdonisJS Notifications - AWS SNS Channel

This package requires @benhepburn/adonis-notifications and @aws-sdk/credential-providers.

Install

Install peer dependency @aws-sdk/credential-providers and this package from npm:

npm install @aws-sdk/credential-providers @benhepburn/adonis-notifications-aws-sns-channel

or

pnpm install @aws-sdk/credential-providers @benhepburn/adonis-notifications-aws-sns-channel

or

yarn add @aws-sdk/credential-providers @benhepburn/adonis-notifications-aws-sns-channel

Then, configure the package for Adonis:

node ace configure @benhepburn/adonis-notifications-aws-sns-channel

Configuration

Edit config/aws_sns_channel.ts as needed, then add the channel to config/notifications.ts.

You must set the AWS region:

AWS_SNS_REGION=<region e.g. ap-southeast-2>

You can set the AWS credentials in your .env file; if they aren't set then the default node credentials provider for AWS will be used.

Package Sidebar

Install

npm i @benhepburn/adonis-notifications-aws-sns-channel

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

9.71 kB

Total Files

18

Last publish

Collaborators

  • benhepburn