Serverless Framework Plugin to download and run a local aws ses service
npm install 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
To install with npm, run this in your service directory:
``bash`
npm install --save-dev serverless-offline-ses
or yarn
`bash`
yarn add serverless-offline-ses --dev
Then add this to your serverless.yml
`yml`
plugins:
- serverless-offline-ses
To use serverless-offline-ses, add it to the plugins section of your serverless.yml:
`yml
plugins:
- serverless-offline-ses
custom:
ses:
stages:
- local
`
To configure custom options, add a ses section like this to your serverless.yml:
`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) |
|