Run bash script from lambda

0

Hi, I have custom bash script in ssm box . I need trigger the script from lambda like , Bash script : todo.sh From lamda function trigger the above shell script and pass the ebs detail those details will get in lambda.

Please help me how can I trigger the query parameter script from lambda

gefragt vor 2 Monaten168 Aufrufe
1 Antwort
0

Hello.

I thought I could either create a custom runtime and run the shell script there, or run bash inside the code, like Python's subprocess.run().
https://docs.aws.amazon.com/lambda/latest/dg/runtimes-walkthrough.html

profile picture
EXPERTE
beantwortet vor 2 Monaten

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