Interface CfnQueuePolicyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnQueuePolicyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.031Z") @Stability(Stable) public interface CfnQueuePolicyProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnQueuePolicy.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sqs.*;
 Object policyDocument;
 CfnQueuePolicyProps cfnQueuePolicyProps = CfnQueuePolicyProps.builder()
         .policyDocument(policyDocument)
         .queues(List.of("queues"))
         .build();
 
  • Method Details

    • getPolicyDocument

      @Stability(Stable) @NotNull Object getPolicyDocument()
      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 .

    • getQueues

      @Stability(Stable) @NotNull List<String> getQueues()
      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.

    • builder

      @Stability(Stable) static CfnQueuePolicyProps.Builder builder()
      Returns:
      a CfnQueuePolicyProps.Builder of CfnQueuePolicyProps