Edit Lambda trigger events not possible. Unable to validate the following destination configurations

0

I created my lambda function triggered by two S3 events (different prefix):

  • Event types: s3:ObjectCreated:* on Prefix: test1/sub-folder-1
  • Event types: s3:ObjectCreated:* on Prefix: test2/sub-folder-2

When I try to delete one of this trigger I receive error: "Unable to validate the following destination configurations" Attached file N.1Enter image description here

Other issue I have when I try to create a new trigger. The error occurred is: "An error occurred when creating the trigger: Unable to validate the following destination configurations" Attached file N. 2 Enter image description here

Could you please help me to understand?

luk3tt0
質問済み 4ヶ月前189ビュー
1回答
0
承認された回答

Hi, I've seen this behavior when any of event notifications in the S3 bucket is no longer consistent (i.e one event notification configured to a lambda function that was deleted later). As a workaround, check your bucket event notification configuration in "properties" tab of Amazon S3 web console (not your Lambda Function console). Try to identify which of those are targetting non existing resources and try to fix it (delete will not work, so point them to a valid resource, for example a Lambda function that does nothing, this is temporary, just to put it in a consistent state again). Once fixed, edit the triggers in your Lambda function you were working on initially.

AWS
回答済み 4ヶ月前

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

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

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

関連するコンテンツ