Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 701 Bytes

File metadata and controls

21 lines (15 loc) · 701 Bytes

AWS Local SQS

Description

Wrapper for Local AWS SQS.
This plugin automatically creates all Queues declared in serverless.yml and enables SQS EventSourceMapping by setting AWS SQS Client config in defineConfig services if it is not already defined.

Usage

Import the plugin inside your defineConfig.
To define default and/or override Queue attributes see Plugin configs.

// config.ts
import { defineConfig } from "serverless-aws-lambda/defineConfig";
import { sqsPlugin } from "serverless-aws-lambda/sqs";

export default defineConfig({
  plugins: [sqsPlugin(config)],
});