QueuePolicy

class aws_cdk.aws_sqs.QueuePolicy(scope, id, *, queues)

Bases: aws_cdk.core.Resource

Applies a policy to SQS queues.

__init__(scope, id, *, queues)
Parameters
  • scope (Construct) –

  • id (str) –

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

Return type

None

Methods

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

document

The IAM policy document for this policy.

Return type

PolicyDocument

node

The construct tree node associated with this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack

Static Methods

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool