serverless-offline-ses
v0.0.7
Published
Serverless Framework Plugin to download and run a local aws ses service
Downloads
229
Maintainers
Readme
serverless-offline-ses
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
| Option | Default | Description |
| ------------- | ---------- | -------------------------------------------- |
| --outputDir
| ./output
| Specify output directory |
| --port
| 9001
| Specify port for server to run on |
| --clean
| none | Clean output directory (delete all contents) |