Skip to content

Instantly share code, notes, and snippets.

@shreyasms17
Created April 8, 2021 17:10
Show Gist options
  • Save shreyasms17/70e71876865e65bc49eb0038bef8c301 to your computer and use it in GitHub Desktop.
Save shreyasms17/70e71876865e65bc49eb0038bef8c301 to your computer and use it in GitHub Desktop.
SQS Queue Access Policy
---
Version: '2008-10-17'
Id: arn:aws:sqs:us-east-1:000000000000:PageVisitQueue/SQSDefaultPolicy
Statement:
- Sid: AllowedSQSPermissions
Effect: Allow
Principal:
AWS: arn:aws:iam::111111111111:role/crossaccount_sqs_lambda_role
Action:
- SQS:ReceiveMessage
- SQS:DeleteMessage
- SQS:GetQueueAttributes
Resource: arn:aws:sqs:us-east-1:000000000000:PageVisitQueue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment