interface CfnQueueInlinePolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SQS.CfnQueueInlinePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssqs#CfnQueueInlinePolicyProps |
Java | software.amazon.awscdk.services.sqs.CfnQueueInlinePolicyProps |
Python | aws_cdk.aws_sqs.CfnQueueInlinePolicyProps |
TypeScript | aws-cdk-lib » aws_sqs » CfnQueueInlinePolicyProps |
Properties for defining a CfnQueueInlinePolicy
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sqs as sqs } from 'aws-cdk-lib';
declare const policyDocument: any;
const cfnQueueInlinePolicyProps: sqs.CfnQueueInlinePolicyProps = {
policyDocument: policyDocument,
queue: 'queue',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | A policy document that contains the permissions for the specified Amazon SQS queues. |
queue | string | The URLs of the queues to which you want to add the policy. |
policyDocument
Type:
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
Type:
string
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.