I am working on a Lambda FAAS and I am trying to debug by writing data to the "log" which happens to be the CloudTrail Log Stream.
In nodejs, I can simply put the following in my Lambda FAAS and I can see it in my CloudTrail Log Stream for that particular call:
log('this will be written in cloudtrail log stream')
How would I do the following in Python 3 inside Lambda? Any help would be greatly appreciated.