Editing AWS Lambda

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
'''[[wikipedia:AWS Lambda]]''' ([[AWS timeline|Nov 2014]]) <ref>https://aws.amazon.com/about-aws/whats-new/2014/11/13/introducing-aws-lambda/</ref> is an [[event-driven]], [[serverless computing]] platform. It is a computing service that runs code in response to [[Events]] and automatically manages the computing resources required by that code. It was introduced in November [[2014]].<ref>https://en.wikiversity.org/wiki/Cloud_computing/Amazon_Web_Services/AWS_Lambda</ref>
+
'''[[wikipedia:AWS Lambda]]''' is an [[event-driven]], [[serverless computing]] platform. It is a computing service that runs code in response to [[Events]] and automatically manages the computing resources required by that code. It was introduced in November [[2014]].<ref>https://en.wikiversity.org/wiki/Cloud_computing/Amazon_Web_Services/AWS_Lambda</ref>
 
Other similar solutions in the market are [[Google Cloud functions]], [[Oracle Cloud Fn]] and [[Azure Functions]].
 
Other similar solutions in the market are [[Google Cloud functions]], [[Oracle Cloud Fn]] and [[Azure Functions]].
  
Line 19: Line 19:
  
 
== Python Example ==
 
== Python Example ==
 +
<pre>
 +
import json
  
[[import json]]
+
def lambda_handler(event, context):
+
    # TODO implement
def [[lambda_handler]](event, context):
+
    return {
    # TODO implement
+
        'statusCode': 200,
    return {
+
        'body': json.dumps('Hello from Lambda!')
        'statusCode': 200,
+
    }
        'body': json.dumps('Hello from Lambda!')
+
</pre>
    }
 
  
 
== Related terms ==
 
== Related terms ==
Line 33: Line 34:
 
* [[Amazon CloudWatch Lambda Insights]]
 
* [[Amazon CloudWatch Lambda Insights]]
 
* Functions and applications
 
* Functions and applications
* [[Cloudformation]]: [[AWS::Lambda]]
+
* [[AWS::Lambda]]
* <code>[[aws elbv2 create-target-group]] --target-type [ [[instance]] | [[ip]] | [[lambda]] ] </code>
 
* Timeout
 
* [[Terraform resource: aws lambda event source mapping]]
 
* [[AWS Step Functions]]
 
* [[DigitalOcean Functions]]
 
* [[Cloudflare Workers]] (Sep 2017)
 
  
 
== See also ==
 
== See also ==
 
* {{aws lambda}}
 
* {{aws lambda}}
* {{AWS Lambda}}
 
 
* [[AWS Chalice]] microframework for writing serverless apps in [[python]]
 
* [[AWS Chalice]] microframework for writing serverless apps in [[python]]
 
* {{serverless}}
 
* {{serverless}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: