title | cloud | service | description | library | brand | og | ||||
---|---|---|---|---|---|---|---|---|---|---|
How to create an AWS Simple Notification Service (SNS) with Pulumi |
AWS |
SNS |
is a flexible, fully managed pub/sub messaging and mobile notifications service for coordinating the delivery of messages to subscribing endpoints and clients |
@pulumi/aws |
aws |
|
This reference shows how to use Pulumi to define an {{ page.cloud }} {{ page.service }} resource using pure code which can then be deployed to {{ page.cloud }} and managed as infrastructure as code.

{{ page.cloud }} {{ page.service }} {{ page.description }}. Find out more at AWS here.
The {{ page.library }}
library enables fine-grained control over the {{ page.cloud }} {{ page.service }} resource meaning it can be coded, deployed, and managed entirely in code.
const aws = require("@pulumi/aws");
const topic = new aws.sns.Topic("mytopic");
const topicSubscription = new aws.sns.TopicSubscription("mytopicsubscription", {
topic: topic,
protocol: "sqs",
endpoint: queue.arn
});