helloworld-lambda-go

command
v0.0.0-...-0236686 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

HelloWorld Sample using aws-lambda-go

This sample is made for aws-lambda-go, lambda go runtime from sample helloworld that via shim.

Support aws-lambda-go style kick handlers. This is able to work with ask-cli.

This also assumes you have the Amazon AWS CLI installed and configured. You should also have the "lambda_basic_execution" role.

First, create an Alexa Skill following the instructions described in the Java HelloWorld Sample

Second, retrieve dependencies

go get -u github.com/aws/aws-lambda-go/lambda
go get -u github.com/ericdaugherty/alexa-skills-kit-golang

Third, compile the sample using the included Makefile

make

Then, create a new Lambda function using the included Makefile:

make create

You can directry invoke lambda function(just invoke):

make invoke

You can now test the HelloAlexa skill via an Echo attached to your Amazon account or using the Amazon Alexa Console.

Once the lambda function is created, you can use the Makefile to build and update your function.

make
make update

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL