QueueReference

class aws_cdk.aws_sqs.QueueReference(*, queue_arn, queue_url)

Bases: object

A reference to a Queue resource.

Parameters:
  • queue_arn (str) – The ARN of the Queue resource.

  • queue_url (str) – The QueueUrl of the Queue resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sqs as sqs

queue_reference = sqs.QueueReference(
    queue_arn="queueArn",
    queue_url="queueUrl"
)

Attributes

queue_arn

The ARN of the Queue resource.

queue_url

The QueueUrl of the Queue resource.