CfnQueuePolicyProps

class aws_cdk.aws_sqs.CfnQueuePolicyProps(*, policy_document, queues)

Bases: object

Properties for defining a AWS::SQS::QueuePolicy.

Parameters
  • policy_document (Any) – AWS::SQS::QueuePolicy.PolicyDocument.

  • queues (Sequence[str]) – AWS::SQS::QueuePolicy.Queues.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html

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

# policy_document is of type object

cfn_queue_policy_props = sqs.CfnQueuePolicyProps(
    policy_document=policy_document,
    queues=["queues"]
)

Attributes

policy_document

AWS::SQS::QueuePolicy.PolicyDocument.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html#cfn-sqs-queuepolicy-policydocument

Return type

Any

queues

AWS::SQS::QueuePolicy.Queues.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html#cfn-sqs-queuepolicy-queues

Return type

List[str]