为 SQS 事件设置 CloudTrail

Setup CloudTrail for SQS events

我正在关注 https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/logging-using-cloudtrail.html 文档以将 SQS 管理事件传递给 CloudTrail。我没有得到任何特定的步骤来专门为 SQS 进行设置。执行这些步骤后,我能够让 AWS 服务中的其他事件开始显示,但是 none 对于 SQS,我是否遗漏了什么。

CloudTrail 适用于所有服务,不能仅针对 SQS 进行限制。

至于 SQS 事件未显示,事件在 CloudTrail 控制台中显示存在延迟。您确定有 SQS 事件吗?你等了多久?

发件人:CloudTrail FAQ

Q: How long does it take CloudTrail to deliver an event for an API call? Typically, CloudTrail delivers an event within 15 minutes of the API call.