How to create an AWS Simple Queue Service (SQS) with Pulumi

This reference shows how to use Pulumi to define an AWS SQS resource using pure code which can then be deployed to AWS and managed as infrastructure as code.

What is AWS SQS?

AWS SQS is a fully managed message queuing service that makes it easy to decouple and scale microservices, distributed systems, and serverless applications. Find out more at AWS here.

Create an AWS SQS resource using @pulumi/aws

The @pulumi/aws library enables fine-grained control over the AWS SQS resource meaning it can be coded, deployed, and managed entirely in code.

const aws = require("@pulumi/aws");

const queue = new aws.sqs.Queue("myqueue");