@Stability(value=Stable) public static final class CfnQueuePolicy.Builder extends Object implements software.amazon.jsii.Builder<CfnQueuePolicy>
CfnQueuePolicy.| Modifier and Type | Method and Description |
|---|---|
CfnQueuePolicy |
build() |
static CfnQueuePolicy.Builder |
create(software.constructs.Construct scope,
String id) |
CfnQueuePolicy.Builder |
policyDocument(Object policyDocument)
A policy document that contains the permissions for the specified Amazon SQS queues.
|
CfnQueuePolicy.Builder |
queues(List<String> queues)
The URLs of the queues to which you want to add the policy.
|
@Stability(value=Stable) public static CfnQueuePolicy.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnQueuePolicy.Builder.@Stability(value=Stable) public CfnQueuePolicy.Builder policyDocument(Object policyDocument)
For more information about Amazon SQS policies, see Using custom policies with the Amazon SQS access policy language in the Amazon SQS Developer Guide .
policyDocument - A policy document that contains the permissions for the specified Amazon SQS queues. This parameter is required.this@Stability(value=Stable) public CfnQueuePolicy.Builder queues(List<String> queues)
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.
queues - The URLs of the queues to which you want to add the policy. This parameter is required.this@Stability(value=Stable) public CfnQueuePolicy build()
build in interface software.amazon.jsii.Builder<CfnQueuePolicy>Copyright © 2022. All rights reserved.