跳转到主内容
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.

是否可以指定包含两个主题的桶 SNS ?

Views:
11
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用于

  • StorageGRID
  • 简单存储服务( S3 )

解答

是,但需要筛选器。一条简单通知服务( SNS )消息只能发送到一个 SNS 主题。

其他信息

配置事件通知

Amazon SNS 常见问题解答

 

使用 2 个主题进行配置

示例:

<NotificationConfiguration>
   <TopicConfiguration>
       <Id>Objects-created</Id>
       <Filter>
           <S3Key>
               <FilterRule>
                   <Name>prefix</Name>
                   <Value>testprefix/</Value>
               </FilterRule>
           </S3Key>
       </Filter>
       <Topic>urn:mysite:sns:region::snstopic</Topic>
       <Event>s3:ObjectCreated:*</Event>
   </TopicConfiguration>
   <TopicConfiguration>
       <Id>Objects-created2</Id>
       <Filter>
           <S3Key>
               <FilterRule>
                   <Name>prefix</Name>
                   <Value>testprefix2/</Value>
               </FilterRule>
           </S3Key>
       </Filter>
       <Topic>urn:mysite:sns:region::snstopic2</Topic>
       <Event>s3:ObjectCreated:*</Event>
   </TopicConfiguration>
</NotificationConfiguration>

 

Scan to view the article on your device