How to get the enable / disable of the trigger set in lambda with boto3.

0

Hi,I want someone to tell me.
How to get the enable / disable of the trigger set in lambda with boto3.

For example,

  1. The s3 event set for lambda has been disabled.
  2. did get_policy ().
  3. The value of "action" of the returned json was "lambda: InvokeFunction".
    Why not "lambda: DisableInvokeFunction"?
    Or isn't it "action"?
    Or can't get it with get_policy ()?

How can I get it?

已提問 4 年前檢視次數 2007 次
1 個回答
0

Hi,UchihaMadara,Thank you for the information:-)

I know that lambda operation by boto3 is written in that url.
And I tried all getxxx and listxxx methods that seem to be related.
However, no useful results have been obtained....

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南