0.0.6 • Published 4 years ago

@you54f/serverless-offline-ses v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

serverless-offline-ses

David GitHub code size in bytes GitHub repo size npm npm npm npm NPM npm GitHub last commit npm collaborators

Serverless plugin to create local Amazon Simple Email Service Server for consuming requests sent by the API

It is a wrapper around aws-ses-local

Installation

To install with npm, run this in your service directory:

npm install --save-dev serverless-offline-ses

or yarn

yarn add serverless-offline-ses --dev

Then add this to your serverless.yml

plugins:
  - serverless-offline-ses

Usage

To use serverless-offline-ses, add it to the plugins section of your serverless.yml:

plugins:
  - serverless-offline-ses

custom:
  ses:
    stages:
      - local

Options

To configure custom options, add a ses section like this to your serverless.yml:

custom:
  ses:
    stages:
      - local
    port: 9001
    outputDir: "./output"
    clean: true
OptionDefaultDescription
--outputDir./outputSpecify output directory
--port9001Specify port for server to run on
--cleannoneClean output directory (delete all contents)