Does StartMessageMoveTask support SNS DLQs and cross-account targets?

0

After reading the documentation for this new feature https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_StartMessageMoveTask.html I still have some questions:

  1. Can the source queue be the DLQ for another service like SNS or Lambda? Or it must be the DLQ for another SQS queue?
  2. Can the destination queue be in a different AWS account (cross-account)?
  3. If yes to #2, what IAM policy would be needed in the destination account to grant access? (i.e. which principal, source attributes, etc.)
1개 답변
0
수락된 답변

Here are the answers for your queries. 1/ The DLQ redrive works if the DLQ has received messages from any other SQS queue. If the DLQ has received messages directly from Lambda or SNS, the redrive to the source or custom queue is currently not supported. As a workaround, you can create a new queue and use the existing DLQ as the dead-letter queue for that new queue. After doing so, you can re-drive messages from your DLQ to any custom queue in SQS. 2/ DLQ doesn't support cross-account. DLQ must be under the same region and same account, so does redriving messages back to the source or custom queue.

답변함 일 년 전
  • Thanks for the quick response!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠