2023-05-15 15:25:28 -07:00

988 B

title, meta_desc, meta_image, service, description, aws_here, menu, aliases
title meta_desc meta_image service description aws_here menu aliases
Creating an AWS SNS with Pulumi Learn how to use Pulumi to define an AWS SNS resource which can then be deployed to AWS and managed as infrastructure as code. /images/docs/service/aws-sns.png SNS is a flexible, fully managed pub/sub messaging and mobile notifications service for coordinating the delivery of messages to subscribing endpoints and clients https://aws.amazon.com/sns/
aws
name parent
SNS aws-guides
/docs/aws/sns/

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
});