JSPM

  • Created
  • Published
  • Downloads 2806
  • Score
    100M100P100Q125138F
  • License MIT

Package Exports

  • @sls-next/aws-sqs
  • @sls-next/aws-sqs/serverless.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sls-next/aws-sqs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

aws-sqs

Deploy SQS queues to AWS in seconds with Serverless Components.

 

  1. Install
  2. Create
  3. Configure
  4. Deploy

 

1. Install

$ npm install -g serverless

2. Create

$ mkdir my-function && cd my-function

the directory should look something like this:

|- code
  |- handler.js
  |- package.json # optional
|- serverless.yml
|- .env           # your AWS api keys
# .env
AWS_ACCESS_KEY_ID=XXX
AWS_SECRET_ACCESS_KEY=XXX

3. Configure

# serverless.yml

myQueue:
  component: "@serverless/aws-sqs"

4. Deploy

$ serverless

Credits

This package was originally implemented by DaySmart. I decided to fork it and bring it into this monorepo because it wasn't being maintained anymore