serverless-ses-sns

Serverless plugin to add a SNS destination to a SES ConfigurationSet

Usage no npm install needed!

<script type="module">
  import serverlessSesSns from 'https://cdn.skypack.dev/serverless-ses-sns';
</script>

README

serverless-ses-sns

This plugin adds a SNS topic as destination for a SES ConfigurationSet.

Installation

npm install --save-dev serverless-ses-sns

Usage

plugins:
  - serverless-ses-sns

custom:
  snsDestination:
    region: <region> # If absent, self:provider.region will be used
    configurationSet: <configuration set name>
    topicArn: <topic arn> # If absent, one will be created
    events: # One or more of the following
      - renderingFailure
      - reject
      - bounce
      - send
      - complaint
      - delivery
      - open
      - click

Contributing

Feedback, bug reports, and pull requests are welcome.

For pull requests, make sure to follow the following guidelines:

  • Add tests for each new feature and bug fix.
  • Follow the existing code style, enforced by eslint.
  • Separate unrelated changes into multiple pull requests.

License

Apache License 2.0, see LICENSE.