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?

gefragt vor 4 Jahren2007 Aufrufe
1 Antwort
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....

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen