-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
Input
- Watch for changes to an S3 bucket:
- node options
bucket
- the bucket to watchfilepattern
- minimatch/glob pattern to filter files on (optional, default include all files)
- output msg properties
payload
- the full path of the changed filefile
- the basename of the changed fileevent
- the type of event eitheradd
ordelete
- node options
Query
- Retrieve a file from an S3 bucket:
- Get S3 file contents
- node options
bucket
- bucket to retrieve file fromfilename
- full path of file to retrievelocalfilename
- local file to write content to (optional - defaults to storing content in payload)
- msg options
bucket
- bucket to retrieve file fromfilename
- full path of file to retrievelocalfilename
- local file to write content to
- output msg properties
payload
- the content of the file (deleted if there is an error)bucket
- the bucket the file was retrieved fromfilename
- the full path of the file retrievederror
- an error object (deleted if the request was successful)
- node options
Outputs
- Write to a file (create/replace)
- node options
bucket
- a bucket to store files infilename
- filename of the remote s3 filelocalFilename
- local filename containing the content to be uploaded to s3
- msg options
bucket
- override the node configuredbucket
filename
- filename of the remote s3 filelocalFilename
- local filename containing the content to be uploaded to s3payload
- the content to be uploaded (localFilename
takes priority)
- node options
Authentication
Users must register their own app at http://aws.amazon.com/ and paste the access key id and secret access key into the node.