Skip to main content

queue

Overview of the queue module in the @serverless-stack/node package.

import { ... } from "@serverless-stack/node/queue"

The queue module has the following exports.


Properties

The properties let you access the resources that are bound to the function.


Queue

This module helps with accessing Queue constructs.

import { Queue } from "@serverless-stack/node/queue";

queueUrl

Type : string

The URL of the SQS queue.

console.log(Queue.myQueue.queueUrl);