Skip to main content

topic

Overview of the topic module in the sst/node package.

import { ... } from "sst/node/topic"

The topic module has the following exports.


Topic

This module helps with accessing Topic constructs.

import { Topic } from "sst/node/topic";

topicName

Type : string

The name of the SNS topic.

console.log(Topic.myTopic.topicName);