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 réponse
2
Réponse acceptée

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
EXPERT
kentrad
répondu il y a un an
profile pictureAWS
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions