I have a cloudwatch
log group named myTestLogGroup that has a log stream named myTestLogStream.
I also have a lambda named myTestLambda with the following code:
exports.handler = async () => {
console.log('Hello World!');
return 200;
}
I would like to see the "Hello World" within the specified myTestLogGroup instead of the default lambda cloudwatch log group.
How can I achieve this? Any SAM templates?