- Navigate to the CloudTrail dashboard and click on Create a Trail.
- Select only the events from the current region by selecting No for Apply trail to all regions.
- Select All Read/Write events to be captured.
- In the Data events section, select the Lambda function Greeter as the resource to audit. You can select as many resources as you want to audit:
The first step in creating a trail and configuring it to record the data events for the Greeter Lambda function