Interface CfnQueuePolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQueuePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:24.056Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnQueuePolicyProps
static final class
An implementation forCfnQueuePolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnQueuePolicyProps.Builder
builder()
A policy document that contains the permissions for the specified Amazon SQS queues.The URLs of the queues to which you want to add the policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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 .
- See Also:
-
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-resource-sqs-queue.html)
resource.- See Also:
-
builder
- Returns:
- a
CfnQueuePolicyProps.Builder
ofCfnQueuePolicyProps
-