Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

Create Lambda Functions in AWS

AWS Lambda runs your code in a serverless compute service in response to events and manages all compute resources. 

For more information, see AWS Lambda Features

To create Lambda functions in AWS:

  1. Login to your AWS account and navigate to  https://console.aws.amazon.com/lambda/.
  2. Select Functions from LHS and then select Create Function.
  3. Navigate to a new window and create a lambda function. 
  4. In the Name text box, type the name of the lambda function.
  5. Choose Runtime from the list. If you are writing your lambda in the Python Language, select Python 2.7 or Python 3.6
  6. In the Role text box, select Choose An Existing role.
  7. In the existing Role textbox, select the Role ARN that with the lambda permissions.
  8. Then, press Create Function.
  9. Scroll down to Function Code and select Upload .zip file from Code entry type.
  10. Select Upload and choose the Lambda function you want to run. Then in Handler, type python file name + dot(.)+ function name which will run when the lambda is triggered example incident_remediation_world_readable_s3.lambda_handler and then Save.
  11. After saving, the lambda function will appear on the AWS screen.
  12. Scroll down In Lambda function page to Basic Setting and increase the Timeout to 5 min.
  13. Save the lambda function.
  • Was this article helpful?