Debugging an AWS Lambda handler function deployed via simulated CloudFormation

Here&rsquo;s a minimal CDK app with a Lambda function that reads an Object from an S3 Bucket: import * as cdk from 'aws-cdk-lib' ; import * as lambda from 'aws-cdk-lib/aws-lambda' ; import * as s3 from 'aws-cdk-lib/aws-s3' ; const app = new cdk . App (); const stack = new cdk . Stack ( app , 'FooStack' , { env : { account : '111111111111' , region : 'eu-west-2' }, }); const dataBucket = new s3 .…