node-red-node-aws

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

node-red-node-aws

A Node-REDnode 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.payloadproperty, 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 bucketproperty or in the msg.bucketproperty. The name of the file to download is taken from the node filenameproperty or the msg.filenameproperty. The downloaded content is sent as msg.payloadproperty. If the download fails msg.errorwill contain an error object.

Amazon S3 out node.

Uploads content to an Amazon S3 bucket. The bucket name can be specified in the node bucketproperty or in the msg.bucketproperty. The filename on Amazon S3 is taken from the node filenameproperty or the msg.filenameproperty. The content is taken from either the node localFilenameproperty, the msg.localFilenameproperty or the msg.payloadproperty.

Repository

https://github.com/node-red/node-red-web-nodes/tree/master/aws


上一篇:[填坑手册]小程序Canvas生成海报完整版
下一篇:node-red-contrib-sqldbs

相关推荐

官方社区

扫码加入 JavaScript 社区