Code Monkey home page Code Monkey logo

address's Introduction

Welcome to the AWS CodeStar sample Alexa Skill

This sample code helps get you started with a simple skill built with the Amazon Alexa Skills Kit and deployed by AWS CloudFormation to AWS Lambda. This skill enables you to create a fact skill using facts about space.

https://github.com/alexa/skill-sample-nodejs-fact

What's Here

This sample includes:

  • README.md - this file
  • buildspec.yml - This YAML file is used by AWS CodeBuild to create an artifact that can be used to deploy to AWS Lambda through CloudFormation.
  • index.js - This file contains the AWS Lambda code used to interact with Alexa.
  • package.json - This file is used by NPM to package your Alexa skill.
  • template.yml - This YAML file is used by AWS CloudFormation to update AWS Lambda and manage any additional AWS resources.

Getting Started

To work on the sample code, you'll need to clone your project's repository to your local computer. If you haven't, do that first. You can find instructions in the AWS CodeStar user guide.

Once you've created your project in AWS CodeStar, go to the Amazon Alexa Portal and set up your skill to view it in action. Follow the tutorial provided on GitHub:

https://github.com/alexa/skill-sample-nodejs-fact

Since AWS CodeStar will create your AWS Lambda on your behalf, you can skip Step 2 of the tutorial. In Step 3, you can use the Project view in AWS CodeStar to easily get the ARN of your AWS Lambda. Look for AWS Lambda under Type in the Project Resources table.

What Do I Do Next?

Once you've tested your AWS Lambda function from the Amazon Developer Portal, we suggest making a small change to index.js so you can see how changes pushed to your repository are automatically picked up by your project pipeline and deployed to AWS Lambda. Once you've seen how that works, start developing your own code, and have fun!

Learn more about AWS CodeStar by reading the user guide. Ask questions or make suggestions on our forum.

User Guide: http://docs.aws.amazon.com/codestar/latest/userguide/welcome.html

Forum: https://forums.aws.amazon.com/forum.jspa?forumID=248

What Should I Do Before Running My Project in Production?

AWS recommends you review the security best practices recommended by the framework author of your selected sample application before running it in production. You should also regularly review and apply any available patches or associated security advisories for dependencies used within your application.

Best Practices: https://docs.aws.amazon.com/codestar/latest/userguide/best-practices.html?icmpid=docs_acs_rm_sec

address's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.