The AddPermission action adds a permission to a queue for a specific principal. This allows for sharing access to the queue.
When you create a queue, you have full control access rights for the queue. Only you (as owner of the queue) can grant or deny permissions to the queue. For more information about these permissions, see Shared Queues in the Amazon SQS Developer Guide.
Inheritance Hierarchy
Namespace: Amazon.SQS.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class AddPermissionRequest : AmazonWebServiceRequest IRequestEvents
The AddPermissionRequest type exposes the following members
Constructors
| Name | Description | |
|---|---|---|
|
AddPermissionRequest() |
Properties
| Name | Description | |
|---|---|---|
|
Actions | The action the client wants to allow for the specified principal. |
|
AWSAccountIds | The AWS account number of the principal who will be given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. |
|
Label |
The unique identification of the permission you're setting (e.g., |
|
QueueUrl | The URL of the SQS queue to take action on. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8