Using AWS Lambda with Alexa - AWS Lambda

Using AWS Lambda with Alexa

You can use Lambda functions to build services that give new skills to Alexa, the Voice assistant on Amazon Echo. The Alexa Skills Kit provides the APIs, tools, and documentation to create these new skills, powered by your own services running as Lambda functions. Amazon Echo users can access these new skills by asking Alexa questions or making requests.

The Alexa Skills Kit is available on GitHub.

Example Alexa smart home event
{ "header": { "payloadVersion": "1", "namespace": "Control", "name": "SwitchOnOffRequest" }, "payload": { "switchControlAction": "TURN_ON", "appliance": { "additionalApplianceDetails": { "key2": "value2", "key1": "value1" }, "applianceId": "sampleId" }, "accessToken": "sampleAccessToken" } }

For more information, see Host a custom skill as an AWS Lambda Function in the Build Skills with the Alexa Skills Kit guide.