-1

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?

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.