AWS::SQS::QueueInlinePolicyThe `AWS::SQS::QueueInlinePolicy` resource associates one Amazon SQS queue with one policy.
import { CfnQueueInlinePolicy } from 'aws-cdk-lib/aws-sqs';Or use the module namespace:
import * as sqs from 'aws-cdk-lib/aws-sqs';
// sqs.CfnQueueInlinePolicyConfiguration passed to the constructor as CfnQueueInlinePolicyProps.
policyDocumentRequiredanyA 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](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html) in the *Amazon SQS Developer Guide* .
queueRequiredstringThe 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.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon SQS on one page. HD quality, print-friendly.
Download Free Infographicaws-sqsAWS::SQS::QueueInlinePolicy