1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
One way I can think to do this is simply to make the lambda function place a message into an SQS Queue. Then from the Windows instance, consume messages from the queue using one of our SDKs (such as the .NET SDK - https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/ReceiveMessage.html).
On receiving the appropriate message, invoke the Python script on your Windows machine. You can use the Boto3 SDK to send the output logs to CloudWatch logs.
Please see this and give me suggestion
https://repost.aws/questions/QUxfKX5PFsRgmeiZMDhEz--w/having-error-when-i-am-trying-to-execute-the-python-file-in-ec2-windows-instance-using-lambda-trigger