Creating an AWS SNS with Pulumi
Create an AWS SNS resource using @pulumi/aws
The @pulumi/aws
library enables fine-grained control over the AWS SNS 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
});
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.