如何使用加密的DLQ向SNS添加Redrive策略 [英] How to add a Redrive policy to an SNS with an encrypted DLQ

查看:145
本文介绍了如何使用加密的DLQ向SNS添加Redrive策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个由两个Lambda订阅的SNS(用KMS加密).我试图将Redrive策略添加到其中一个订阅中.所讨论的DLQ已加密.

I have an SNS(encrypted with KMS) which is subscribed by two lambdas. I am trying to add a Redrive policy to one of the subscriptions. The DLQ in question is encrypted.

添加重新驱动器"策略给我一个错误无法检查Amazon SQS队列权限.确保队列存在,并且您的帐户有权读取队列的属性.要允许Amazon SNS主题将消息发送到Amazon SQS队列,您必须创建一个Amazon SQS队列策略'

Adding Redrive policy is giving me an error 'Couldn't check Amazon SQS queue permissions. Make sure that the queue exists and that your account has permission to read the attributes of the queue. To allow an Amazon SNS topic to send messages to an Amazon SQS queue, you must create an Amazon SQS queue policy'

我尝试给予DLQ队列SNS解密权限.但是没有运气.有线索吗?

I have tried giving SNS decrypt permission on the DLQ Queue. But no luck. Any leads?

推荐答案

即使该功能在控制台中显示警报,该功能似乎仍在运行.即使控制台显示警报,也会在lambda失败时将消息发送到DLQ.

Seems like the functionality is working even if it shows an alert in console. The messages get sent to DLQ on lambda failures even though the console shows an alert.

这篇关于如何使用加密的DLQ向SNS添加Redrive策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆