S3 > SQS Event Notification Failure

1

I've been trying to setup through AWS Management Console an S3 event to send notification to SQS for newly-created objects but I'm always getting an error.

Unknown Error An unexpected error occurred.

Unable to validate the following destination configurations

NOTE: Both S3 and SQS are in the same region.

1 Antwort
1

Hi.

You need to attach an IAM policy to the SQS queue to allow notifications from S3.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/grant-destinations-permissions-to-s3.html#grant-sns-sqs-permission-for-s3

If you have already set this, there are cases where the S3 notification and destination queue settings are incorrect as shown below.

https://zenn.dev/fffukken/articles/5c165e8cde8e2b

profile picture
EXPERTE
iwasa
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen