Pulumi doesn't (as a general rule) provide APIs for using the infrastructure it helps provision. You need to use the infrastructures' own APIs for that. As in your link, you use the AWS SDK client to use an SQS queue.
Note that you won't be able to send messages from the Pulumi program itself, because at the time it runs, the queue won't have been created yet. You can use it in lambdas and other code that you know runs after the infrastructure has been provisioned.
➕ 1
l
lemon-train-62069
01/05/2022, 11:04 PM
great, that makes a lot of sense! i will give this another try!
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.