QueuePolicyProps

class aws_cdk.aws_sqs.QueuePolicyProps(*, queues)

Bases: object

Properties to associate SQS queues with a policy.

Parameters

queues (Sequence[IQueue]) – The set of queues this policy applies to.

ExampleMetadata

fixture=_generated

Example:

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

# queue: sqs.Queue

queue_policy_props = sqs.QueuePolicyProps(
    queues=[queue]
)

Attributes

queues

The set of queues this policy applies to.

Return type

List[IQueue]