Class CfnQueueInlinePolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sqs.CfnQueueInlinePolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueueInlinePolicyPropsMixin>
- Enclosing class:
CfnQueueInlinePolicyPropsMixin
@Stability(Stable)
public static final class CfnQueueInlinePolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueueInlinePolicyPropsMixin>
A fluent builder for
CfnQueueInlinePolicyPropsMixin.-
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 CfnQueueInlinePolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnQueueInlinePolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnQueueInlinePolicyPropsMixin.Builder.
-
policyDocument
@Stability(Stable) public CfnQueueInlinePolicyPropsMixin.Builder policyDocument(Object 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:
-
queue
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-properties-sqs-queues.html)resource.- Parameters:
queue- 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<CfnQueueInlinePolicyPropsMixin>- Returns:
- a newly built instance of
CfnQueueInlinePolicyPropsMixin.
-