1. Docs
  2. Clouds
  3. AWS
  4. AWS Guides
  5. Creating an AWS SNS with Pulumi

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
      Pulumi AI - What cloud infrastructure would you like to build? Generate Program