TeeKay
TeeKay

Reputation: 1065

Give input to lambda function through cloud watch event

I have a cloud watch event that triggers a lambda function every day. I need to send a string as input to the lambda function that this cloud watch event will be triggering. I am using Python-3.X as my coding language.

Is there a way to do it?

Upvotes: 1

Views: 3088

Answers (1)

Kerolos William
Kerolos William

Reputation: 481

you will get the input inside the event you can check the following link for more clarification

When configuring the targets from cloudwatch rules you will find configure input option on the right part of the console page and then you can choose JSON input also you can check this docs for clarification

Upvotes: 3

Related Questions