AWS sns: Editorial rewording of SNS-to-SQS cross-account subscription guide
Summary
Copy-editing of the SNS fanout to cross-account SQS queues doc: rephrases sentences for clarity (e.g., 'same way as if', 'We recommend', 'permission lets the account ID delegate'). No technical steps, policies, or permission semantics were changed; IAM statements like sns:Subscribe, sqs:SendMessage, and the SubscribeURL confirmation flow remain intact.
Security assessment
The only security-relevant content touched is the cross-account IAM delegation explanation, but the diff merely reworks phrasing ('allows' -> 'lets', 'are allowed to' -> 'can', 'must also have `sns:subscribe`' -> 'must also have `sns:subscribe` permission'). No new guidance, permission, or control is added or corrected, so it is a low-severity editorial change.
Evidence
+A user with the credentials for account `111122223333` can subscribe to `MyTopic`. This permission lets the account ID delegate permission to their IAM user/role. Only the root account or administrator users can call `sns:Subscribe`. The IAM user/role must also have `sns:subscribe` permission.
Diff
diff --git a/sns/latest/dg/sns-send-message-to-sqs-cross-account.md b/sns/latest/dg/sns-send-message-to-sqs-cross-account.md index 6a04a7583..2a201892b 100644 --- a//sns/latest/dg/sns-send-message-to-sqs-cross-account.md +++ b//sns/latest/dg/sns-send-message-to-sqs-cross-account.md @@ -11 +11 @@ Queue owner creates subscriptionA user who does not own the queue creates a subs -This document describes how to publish a notification to an Amazon SNS topic with one or more subscriptions to Amazon SQS queues in another account. You set up the topic and queues the same way you would if they were in the same account (see [Fanout Amazon SNS notifications to Amazon SQS queues for asynchronous processing](./sns-sqs-as-subscriber.html)). The major difference is how you handle subscription confirmation, and that depends on how you subscribe the queue to the topic. +This document describes how to publish a notification to an Amazon SNS topic with one or more subscriptions to Amazon SQS queues in another account. You set up the topic and queues the same way as if they were in the same account (see [Fanout Amazon SNS notifications to Amazon SQS queues for asynchronous processing](./sns-sqs-as-subscriber.html)). The major difference is how you handle subscription confirmation. That depends on how you subscribe the queue to the topic. @@ -13 +13 @@ This document describes how to publish a notification to an Amazon SNS topic wit -It is a best practice to follow the steps referenced in the Queue owner creates subscription section when possible, because confirmation is automatic when the queue owner creates the subscription. +We recommend following the steps in the Queue owner creates subscription section when possible. Confirmation is automatic when the queue owner creates the subscription. @@ -21 +21 @@ If the Amazon SQS queue has a high volume of messages, we recommend that the que -The account that created the Amazon SQS queue is the queue owner. When the queue owner creates a subscription, the subscription doesn't require confirmation. The queue begins to receive notifications from the topic as soon as the `Subscribe` action completes. To let the queue owner subscribe to the topic owner's topic, the topic owner must give the queue owner's account permission to call the `Subscribe` action on the topic. +The account that created the Amazon SQS queue is the queue owner. When the queue owner creates a subscription, the subscription doesn't require confirmation. The queue begins to receive notifications from the topic as soon as the `Subscribe` action completes. To let the queue owner subscribe to the topic, the topic owner must give the queue owner's account permission to call the `Subscribe` action on the topic. @@ -50 +50 @@ This policy gives account `111122223333` permission to call `sns:Subscribe` on ` -A user with the credentials for account `111122223333` can subscribe to `MyTopic`. This permission allows the account ID to delegate permission to their IAM user/role. Only the root account or administrator users are allowed to call `sns:Subscribe`. The IAM user/role must also have `sns:subscribe` to allow their queue to subscribe. +A user with the credentials for account `111122223333` can subscribe to `MyTopic`. This permission lets the account ID delegate permission to their IAM user/role. Only the root account or administrator users can call `sns:Subscribe`. The IAM user/role must also have `sns:subscribe` permission. @@ -92 +92 @@ When you use the `Subscribe` action, Amazon SNS sends a subscription confirmatio -To confirm the subscription, a user with permission to read messages from the queue must retrieve the subscription confirmation URL, and the subscription owner must confirm the subscription using the subscription confirmation URL. Until the subscription is confirmed, no notifications published to the topic are sent to the queue. To confirm the subscription, you can use the Amazon SQS console or the `[ReceiveMessage](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/Query_QueryReceiveMessage.html)` action. +To confirm the subscription, a user with permission to read messages from the queue must retrieve the subscription confirmation URL. The subscription owner must then confirm the subscription using that URL. Until confirmed, no notifications published to the topic are sent to the queue. To confirm, you can use the Amazon SQS console or the `[ReceiveMessage](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/Query_QueryReceiveMessage.html)` action. @@ -96 +96 @@ To confirm the subscription, a user with permission to read messages from the qu -Before you subscribe an endpoint to the topic, make sure that the queue can receive messages from the topic by setting the `sqs:SendMessage` permission for the queue. For more information, see [Step 2: Give permission to the Amazon SNS topic to send messages to the Amazon SQS queue](./subscribe-sqs-queue-to-sns-topic.html#SendMessageToSQS.sqs.permissions). +Before you subscribe an endpoint to the topic, make sure the queue can receive messages from the topic. Set the `sqs:SendMessage` permission for the queue. For more information, see [Step 2: Give permission to the Amazon SNS topic to send messages to the Amazon SQS queue](./subscribe-sqs-queue-to-sns-topic.html#SendMessageToSQS.sqs.permissions). @@ -155 +155 @@ A message with the subscription confirmation is received in the queue. - 2. In the **Message Details** dialog box, find and note the **SubscribeURL** value. This is your subscription link (example below). For additional details on API token validation, see [`ConfirmSubscription`](https://docs.aws.amazon.com/sns/latest/api/API_ConfirmSubscription.html) in the Amazon SNS API Reference. + 2. In the **Message Details** dialog box, find and note the **SubscribeURL** value. This is your subscription link (example below). For more details on API token validation, see [`ConfirmSubscription`](https://docs.aws.amazon.com/sns/latest/api/API_ConfirmSubscription.html) in the Amazon SNS API Reference. @@ -159 +159 @@ A message with the subscription confirmation is received in the queue. - 3. Make a note of the subscription confirmation link. The URL must be passed from the queue owner to the subscription owner. The subscription owner must enter the URL into the [Amazon SNS console](https://console.aws.amazon.com/sns/v3/home). + 3. Make a note of the subscription confirmation link. The URL must be passed from the queue owner to the subscription owner. The subscription owner enters the URL into the [Amazon SNS console](https://console.aws.amazon.com/sns/v3/home).