Step 2: Test the Lambda Function (Using a Sample Test Event)
Choose the function you created in the previous step and then choose Test.
On the Input sample event page, choose Scheduled Event in the Sample event list.
Note the event time in the sample event. This value will be different when AWS Lambda invokes the function at scheduled intervals. The sample Lambda function code logs this time to CloudWatch Logs.
Choose Save and test and verify that the Execution result section shows success.