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?

preguntada hace 4 años2007 visualizaciones
1 Respuesta
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....

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas