node-red-node-aws 0.1.1

A Node-RED node to watch, save and retreive files from an Amazon S3 bucket

npm install node-red-node-aws

A Node-RED node to watch, send and receive files from an Amazon S3 bucket.

Install

Run the following command in the root directory of your Node-RED install

    npm install node-red-node-aws

Usage

###Amazon S3 watch node

Watches for file events on an Amazon S3 bucket. By default all file events are reported, but the filename pattern can be supplied to limit the events to files which have full filenames that match the glob pattern. The event messages consist of the full filename in msg.payload property, the filename in msg.file, the event type in msg.event.

###Amazon S3 input node

Downloads content from an Amazon S3 bucket. The bucket name can be specified in the node bucket property or in the msg.bucket property. The name of the file to download is taken from the node filename property or the msg.filename property. The downloaded content is sent as msg.payload property. If the download fails msg.error will contain an error object.

###Amazon S3 out node.

Uploads content to an Amazon S3 bucket. The bucket name can be specified in the node bucket property or in the msg.bucket property. The filename on Amazon S3 is taken from the node filename property or the msg.filename property. The content is taken from either the node localFilename property, the msg.localFilename property or the msg.payload property.

Node Info

Version: 0.1.1
Updated 1 year, 3 months ago
License: Apache-2.0

Downloads

9 in the last day
52 in the last week
312 in the last month

Nodes

  • amazon s3 in
  • amazon s3
  • amazon s3 out
  • aws-config

Keywords

  • node-red
  • aws
  • s3

Maintainers

  • dceejay
  • knolleary