Skip to content

This project is my modified version of the AWS SDK for JavaScript in Node.js "nodegetstarted" example. It provides a starting point for working with the AWS SDK in Node.js, specifically demonstrating how to create an Amazon S3 bucket and upload an object to it.

Notifications You must be signed in to change notification settings

gidbecxa/aws-sdk-node-s3-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

'Node Getting Started' JavaScript SDK v3 code examples

This project has been modified by me, and is therefore not the original AWS aws-doc-sdk-examples/javascriptv3/example_code/nodegetstarted. However, the original ./libs/s3Client.js and ./sample.js files are still preserved, though I have made them to be hidden files, using . before the filename, and I created new files of my own to relace them i.e. ./libs/sampleClient.js and ./gettingStarted.js respectively. You can read the notes below to get the original AWS project directory and documentation.

Code examples

This is a workspace where you can find the following AWS SDK for JavaScript version 3 (v3) 'Node Get Started' examples.

  • Getting started using node.js with the AWS SDK for JavaScript. See documentation.

Note: All code examples are written in ECMAscript 6 (ES6). For guidelines on converting to CommonJS, see JavaScript ES6/CommonJS syntax.

Getting started

  1. Clone the AWS SDK Code Samples repo to your local environment. See the Github documentation for instructions.

  2. Install the dependencies listed in the package.json.

Note: These include the client module for the AWS services required in these example, which is @aws-sdk/client-s3.

npm install node -g
cd javascriptv3/example_code/nodegetstarted
npm install
  1. In your text editor, update user variables specified in the Inputs section of the sample file.

  2. Run sample code:

cd src
node [example name].js // For example, node sample.js

Resources

About

This project is my modified version of the AWS SDK for JavaScript in Node.js "nodegetstarted" example. It provides a starting point for working with the AWS SDK in Node.js, specifically demonstrating how to create an Amazon S3 bucket and upload an object to it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published