How to get amazon SNS when a large file is uploaded to a S3 folder

0

I was able to set up an SNS notification for a specific file type in a folder on Amazon S3 but I want to restrict the notification emails to be sent only when the file size is bigger than 90MB.

How will I do that?

2回答
3

You can send the S3 Event Notifications to Amazon EventBridge and use Advanced Filtering to filter the metadata's object size. Then set SNS as the target of your EventBridge when an event matches your event pattern.

Check this AWS blog post for more information about using Amazon S3 Event Notifications with Amazon EventBridge. It also contains an example on setting up a pattern that matches events for objects based on the size.

profile picture
joahna
回答済み 2年前
profile pictureAWS
エキスパート
Chris_G
レビュー済み 2年前
0

thanks that worked!

Adaman
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ