Things used in this project

Software apps and online services:
Microsoft Visual Studio Code
As long as your IDE(s) support Python and JSON you are fine. Multi file is preferred.
Python
Screen%20shot%202015 07 20%20at%206.10.26%20pm
Amazon Web Services AWS Lambda
Dp image kit 02
Amazon Alexa Alexa Skills Kit

Code

input.jsonJSON
The input event for your function. Create it yourself or copy it from the testing pane in the developer portal.
{}
output.jsonJSON
This is how the result should look if you change nothing.
{"status": "Complete", "value": "Value"}
test.pyPython
This script runs your function as if it is in Lambda.
import json
import lambda_function as program

with open('input.json') as data_file:    
    data = json.load(data_file)
    with open('output.json', 'w') as result_file:
        (json.dump(program.lambda_handler(data, {}), result_file))
lambda_function.pyPython
You should replace this with your own code.
import json
try:
    with open('vars.json') as data_file:    
        process = json.load(data_file)
except:
    print ("failed")
    pass

def lambda_handler(event, context):
    return {"status": 'Complete', "value": process['env']['name']}
vars.jsonJSON
If using environment variables you must edit this file.
{"env": {"name": "Value"}}

Credits

Big engram isns8txm7l
Elvis Wolcott

Self-taught app developer and hardware developer, currently working on making the Random Rumble Generator and other voice based solutions

Replications

Did you replicate this project? Share it!

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Running Native .NET Core Apps on Raspberry Pi (ARM)
Easy
  • 2,335
  • 28

Protip

Finally you can run your .NET Core apps on ARM versions of Ubuntu 16.04, 14.04 and Windows 10 IoT. We'll be making a Pi calculation app.

Windows 98 Wrist Watch
Easy
  • 3,454
  • 24

Full instructions

Everyone's favourite Operating System. On your wrist!

The Factory at Exhibition - 4.0 and beyond - [Part 1]
Easy
  • 398
  • 4

Work in progress

Control and Supervision of a true 4.0 Working Factory that will be visible in a public Exhibition using Raspberry Pi, PowerBerry, Win10Iot

Windows 10 IoT Temperature SMT172
Easy
  • 1,391
  • 6

Protip

Read temperature from sensor (SMT172) with Windows 10 IOT, Raspberry Pi and C# UWP.

Detect Faces Using a LattePanda!
Easy
  • 247
  • 3

Full instructions

Want to make a face recognition application? Using existing APIs, it is a relatively simple process!

PlatformIO for Visual Studio Code
Easy
  • 60
  • 0

Protip

PlatformIO is an open source ecosystem for IoT development. And now, PlatformIO for Visual Studio Code is coming!

Add projectSign up / Login
Respect project