Files
fn-serverless/docs/lambda/README.md
2017-06-19 11:28:14 -07:00

18 lines
533 B
Markdown

# Lambda everywhere
Lambda support for Oracle Functios enables you to take your AWS Lambda functions and run them
anywhere. You should be able to take your code and run them without any changes.
## Creating Lambda Functions
Creating Lambda functions is not much different than using regular functions, just use
the `lambda-node-4` runtime.
```sh
fn init --runtime lambda-node-4 <DOCKER_HUB_USERNAME>/lambda-node
```
Be sure the filename for your main handler is `func.js`.
TODO: Make Java and Python use the new workflow too.