S3通知在其他区域调用sns主题 [英] S3 Notifications invoke sns topic in other region

查看:99
本文介绍了S3通知在其他区域调用sns主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个存储桶,该存储桶已从与该存储桶相同的区域配置了sns主题作为通知,是否有任何方法可以配置其他区域的ss主题以在发生s3事件时调用

I have a bucket which I have configured sns topic from the same region as that of the bucket as notification, Is there any way that I can configure the sns topic from other region to be invoked at the time of an s3 event

推荐答案

为测试这种情况,我执行了以下操作:

To test this situation I did the following:

  • 在新加坡地区创建了一个SNS主题
  • 在悉尼地区创建一个S3存储桶
  • 在S3存储桶上配置的事件指向SNS主题的ARN(在新加坡)

控制台给出了以下消息:

The console gave this message:

存储桶和存储桶目标服务必须位于同一区域

The bucket and bucket destination service need to be in the same region

因此,答案似乎是.

替代方法:

  • 推送到同一区域中的SNS,并触发Lambda函数,然后Lambda函数将消息发送到另一个区域中的SNS

这篇关于S3通知在其他区域调用sns主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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