The AddPermission action adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
@see com.amazonaws.services.sns.AmazonSNS#addPermission(AddPermissionRequest)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.
AddPermission
writes an SQS-generated policy. If you want to write your own policy, use SetQueueAttributes to upload your policy. For more information about writing your own policy, see Appendix: The Access Policy Language in the Amazon SQS Developer Guide.
|
|