AWS calls it makes¶
Grant the IAM actions that correspond to these API calls on the resources they name. This list is read from the source. Check the exact action names for each in AWS's service authorization reference, which is the authority.
Always¶
| Call | When |
|---|---|
SNS Publish |
Publish, to the subject's topic |
SQS GetQueueUrl |
Subscribe, with the default Topology |
SNS ListTopics |
the first Publish or Subscribe on a subject, with the default Topology; paged |
SQS GetQueueAttributes |
Subscribe, for VisibilityTimeout and RedrivePolicy |
SQS ReceiveMessage |
continuously, one-second long poll |
SQS DeleteMessage |
an Ack under AtLeastOnce; a message delivered under AtMostOnce; an unreadable message under AtMostOnce |
SQS ChangeMessageVisibility |
a decline, a heartbeat, a release; an unreadable message under AtLeastOnce |
SQS ChangeMessageVisibilityBatch |
giving back what a source held at retirement |
A Topology you supply replaces GetQueueUrl and ListTopics with whatever it calls.
At-most-once fan-out only¶
| Call | When |
|---|---|
SQS CreateQueue |
Subscribe |
SQS GetQueueAttributes |
reading the new queue's ARN |
SQS SetQueueAttributes |
setting the queue's access policy |
SNS Subscribe |
subscribing the queue to the topic, with raw delivery |
SNS Unsubscribe |
Retire, or a failed Subscribe |
SQS DeleteQueue |
Retire, or a failed Subscribe |
If you never use an AtMostOnce fan-out subscription, the identity does not need these.