@you54f/serverless-offline-ses

Serverless Framework Plugin to download and run a local aws ses service

Usage no npm install needed!

<script type="module">
  import you54fServerlessOfflineSes from 'https://cdn.skypack.dev/@you54f/serverless-offline-ses';
</script>

README

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
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)