@Stability(value=Stable) public static final class CfnQueuePolicyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnQueuePolicyProps>
CfnQueuePolicyProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnQueuePolicyProps |
build()
Builds the configured instance.
|
CfnQueuePolicyProps.Builder |
policyDocument(Object policyDocument)
Sets the value of
CfnQueuePolicyProps.getPolicyDocument() |
CfnQueuePolicyProps.Builder |
queues(List<String> queues)
Sets the value of
CfnQueuePolicyProps.getQueues() |
@Stability(value=Stable) public CfnQueuePolicyProps.Builder policyDocument(Object policyDocument)
CfnQueuePolicyProps.getPolicyDocument()policyDocument - A policy document that contains the permissions for the specified Amazon SQS queues. This parameter is required.
For more information about Amazon SQS policies, see Using custom policies with the Amazon SQS access policy language in the Amazon SQS Developer Guide .this@Stability(value=Stable) public CfnQueuePolicyProps.Builder queues(List<String> queues)
CfnQueuePolicyProps.getQueues()queues - The URLs of the queues to which you want to add the policy. This parameter is required.
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.this@Stability(value=Stable) public CfnQueuePolicyProps build()
build in interface software.amazon.jsii.Builder<CfnQueuePolicyProps>CfnQueuePolicyPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.