Professor
Professor

Reputation: 11

Delay in AWS Event notification in Lifecycle event

i have configured lifecycle events to delete the file from my s3 bucket, Also i have setup Event notification,

Event types : Object expired have SQS queue as a destination Destination type : SQS Queue Destination : My-Queue-name

Below is the official documentation : https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configure-notification.html

i have set the lifecycle configuration to delete the file after 4 days. files are deleting from the bucket but im not getting notified to SQS queue, i meant to say im not receieving the SQS message. How to check whats wrong here?

Upvotes: 0

Views: 24

Answers (1)

Michael Gasch
Michael Gasch

Reputation: 501

Please 1/ add a dead-letter queue to your target and set RetryPolicy to 0 so that failed attempts are immediately sent to the DLQ for further inspection. Messages sent to a DLQ have metadata attributes explaining any issues/errors.

Upvotes: 1

Related Questions