@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.268Z") @Stability(value=Stable) public interface CfnQueuePolicyProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnQueuePolicyProps.Builder
A builder for
CfnQueuePolicyProps |
static class |
CfnQueuePolicyProps.Jsii$Proxy
An implementation for
CfnQueuePolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnQueuePolicyProps.Builder |
builder() |
Object |
getPolicyDocument()
A policy document that contains the permissions for the specified Amazon SQS queues.
|
List<String> |
getQueues()
The URLs of the queues to which you want to add the policy.
|
@Stability(value=Stable) @NotNull Object getPolicyDocument()
For more information about Amazon SQS policies, see Using custom policies with the Amazon SQS access policy language in the Amazon SQS Developer Guide .
@Stability(value=Stable) @NotNull List<String> getQueues()
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.
@Stability(value=Stable) static CfnQueuePolicyProps.Builder builder()
CfnQueuePolicyProps.Builder of CfnQueuePolicyPropsCopyright © 2022. All rights reserved.