From the course: AWS for DevOps: Continuous Delivery and Process Automation

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Set up and use the AWS SDK for Node.js

Set up and use the AWS SDK for Node.js - Amazon Web Services (AWS) Tutorial

From the course: AWS for DevOps: Continuous Delivery and Process Automation

Start my 1-month free trial

Set up and use the AWS SDK for Node.js

- [Instructor] Here I am in my editor of choice, VS Code, and I've got node sample, like hello-node, basically. Also I had to run an npm install to get my node_modules, this is very specific to Node, in the directory. So, I'm just doing a smoke test, like making sure that Node works before I get into interacting with Amazon. So, in the terminal, I'm going to make sure that I'm in the correct directory by typing pwd and then I'm going to list the files. And then to run my smoke test, I'm just going to type node and then auto-complete, and then I expect a Hello World, which I've got, which is really great. So, now I'm going to clear the terminal. And I'm going to go back into my editor. And I'm going to point out when I open my node_modules that I have an aws-sdk here. So, that's critical, and that provides us with the functionality so when we call objects from Node, that allows us to work with the Amazon services. So, the first pattern that we're going to take a look at is working with…

Contents