CfnQueueInlinePolicyMixinProps
- class aws_cdk.mixins_preview.aws_sqs.mixins.CfnQueueInlinePolicyMixinProps(*, policy_document=None, queue=None)
Bases:
objectProperties for CfnQueueInlinePolicyPropsMixin.
- Parameters:
policy_document (
Any) – A policy document that contains the permissions for the specified Amazon SQS queues. For more information about Amazon SQS policies, see Using custom policies with the Amazon SQS access policy language in the Amazon SQS Developer Guide .queue (
Optional[str]) – The URLs of the queues to which you want to add the policy. You can use the[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)function to specify an[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html)resource.
- See:
- 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.mixins_preview.aws_sqs import mixins as sqs_mixins # policy_document: Any cfn_queue_inline_policy_mixin_props = sqs_mixins.CfnQueueInlinePolicyMixinProps( policy_document=policy_document, queue="queue" )
Attributes
- policy_document
A policy document that contains the permissions for the specified Amazon SQS queues.
For more information about Amazon SQS policies, see Using custom policies with the Amazon SQS access policy language in the Amazon SQS Developer Guide .
- queue
The URLs of the queues to which you want to add the policy.
You can use the
[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)function to specify an[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html)resource.