Class CfnQueueInlinePolicy.Builder
java.lang.Object
software.amazon.awscdk.services.sqs.CfnQueueInlinePolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueueInlinePolicy>
- Enclosing class:
CfnQueueInlinePolicy
@Stability(Stable)
public static final class CfnQueueInlinePolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueueInlinePolicy>
A fluent builder for
CfnQueueInlinePolicy
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnQueueInlinePolicy.Builder
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 CfnQueueInlinePolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnQueueInlinePolicy.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:
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnQueueInlinePolicy>
- Returns:
- a newly built instance of
CfnQueueInlinePolicy
.
-