代码之家  ›  专栏  ›  技术社区  ›  SangminKim

向特定lambda别名或版本发送s3事件通知的方法

  •  0
  • SangminKim  · 技术社区  · 6 年前

    作为问题的标题,是否有任何方法可以向特定别名或lambda函数的版本发送S3事件通知?

    我试着把lambda ARN的版本 arn:aws:lambda:ap-northeast-1:xxxxx:function:xxxx:77 Lambda function ARN 但返回下面的错误是行不通的。

    enter image description here

    Unable to validate the following destination configurations. Not authorized to invoke function [arn:aws:lambda:ap-northeast-1:xxxxx:function:xxxx:77]. (arn:aws:lambda:ap-northeast-1:xxxxx:function:xxxx:77, null)
    

    有什么建议吗?

    1 回复  |  直到 6 年前
        1
  •  1
  •   John Rotenstein    6 年前

    基于来自 Section 3.1.7 Connecting S3 to Lambda ,您可以添加事件 从AWS Lambda控制台

    我测试了它,它工作了。。。 .