Skip to main content

topic

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

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

The topic module has the following exports.


Topic

This module helps with accessing Topic constructs.

import { Topic } from "@serverless-stack/node/topic";

topicName

Type : string

The name of the SNS topic.

console.log(Topic.myTopic.topicName);