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?

posta 4 anni fa2007 visualizzazioni
1 Risposta
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....

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande