Class CfnQueuePolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sqs.CfnQueuePolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueuePolicyPropsMixin>
- Enclosing class:
CfnQueuePolicyPropsMixin
@Stability(Stable)
public static final class CfnQueuePolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueuePolicyPropsMixin>
A fluent builder for
CfnQueuePolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) policyDocument(Object policyDocument) 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.
-
Method Details
-
create
@Stability(Stable) public static CfnQueuePolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnQueuePolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnQueuePolicyPropsMixin.Builder.
-
policyDocument
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 .
- Parameters:
policyDocument- A policy document that contains the permissions for the specified Amazon SQS queues. This parameter is required.- Returns:
this- See Also:
-
queues
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.- Parameters:
queues- The URLs of the queues to which you want to add the policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueuePolicyPropsMixin>- Returns:
- a newly built instance of
CfnQueuePolicyPropsMixin.
-