1.0.0 • Published 1 year ago

@benhepburn/adonis-notifications-aws-sns-channel v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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.

1.0.0

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago