Unable to create S3 notification to SNS topic

0

Hi - I am trying to add SNS topic as event notification to S3 buckets. However, it fails with the following error

Unknown Error
An unexpected error occurred.
API response
The ARN failed to satisfy constraint: Member must satisfy regular expression pattern: ^arn:aws[\p{Alpha}\-]*:sns:[\p{Alnum}\-]+:[\p{Digit}]{12}:[\p{Alnum}\-_]{1,256}$

Here is my S3 bucket arn:aws:s3:::name and SNS topic arn:aws:sns:us-east-2:accountid:SNSexample.fifo

1 個回答
2
已接受的答案

According to the documentation, FIFO topics are not supported as a S3 event destination:

Amazon SNS is a flexible, fully managed push messaging service. You can use this service to push messages to mobile devices or distributed services. With SNS,you can publish a message once, and deliver it one or more times. Currently, Standard SNS is only allowed as an S3 event notification destination, whereas SNS FIFO is not allowed.
profile pictureAWS
專家
kentrad
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南