Python Script on AWS Lambda

Step1 select blueprint

  • select “Lambda” from AWS Management Console
  • select “lambda-canary”

Step2 configure event sources

    Event source type: "Scheduled Event"
    Name: "foobar"
    Description: "foobar"
    Schedule: "rate(5 minutes)"

Step3 configure function

    Name: "foobar"
    Description: "foobar"
    Runtime: "Python 2.7"
    
    function code: "python script"

    Handler: "lambda_function.lambda_handler"
    Role: "lambda_basic_execution"
    
    Memory(MB): "128"
    Timeout: "10sec"

reference

comments powered by Disqus