AWS Event ExamplesCloudTrailOn this pageCloudTrailcautionThis page is a work in progress. If you want to help us to make this page better, please consider contributing on GitHub.AWS DocumentationUsing AWS Lambda with AWS CloudTrailExampleimport middy from '@middy/core'export const handler = middy() .handler((event, context, {signal}) => { // ... })