AWS Lambda
Developer Guide

Step 2: Test the Lambda Function (Using a Sample Test Event)

  1. Choose the function you created in the previous step and then choose Test.

  2. 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.

  3. Choose Save and test and verify that the Execution result section shows success.

Next Step

Step 3: Create an Amazon SNS Topic and Subscribe to It

On this page: