Skip to content

Data Source: awsSqsQueue

Use this data source to get the ARN and URL of queue in AWS Simple Queue Service (SQS). By using this data source, you can reference SQS queues without having to hardcode the ARNs as input.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsSqsQueue.DataAwsSqsQueue(this, "example", {
  name: "queue",
});

Argument Reference

  • name - (Required) Name of the queue to match.

Attributes Reference

  • arn - ARN of the queue.
  • url - URL of the queue.
  • tags - Map of tags for the resource.