Skip to content

Amazon S3 Node (using AWS configuration node) #5

@hindessm

Description

@hindessm

Input

  • Watch for changes to an S3 bucket:
    • node options
      • bucket - the bucket to watch
      • filepattern - minimatch/glob pattern to filter files on (optional, default include all files)
    • output msg properties
      • payload - the full path of the changed file
      • file - the basename of the changed file
      • event - the type of event either add or delete

Query

  • Retrieve a file from an S3 bucket:
  • Get S3 file contents
    • node options
      • bucket - bucket to retrieve file from
      • filename - full path of file to retrieve
      • localfilename - local file to write content to (optional - defaults to storing content in payload)
    • msg options
      • bucket - bucket to retrieve file from
      • filename - full path of file to retrieve
      • localfilename - 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 from
      • filename - the full path of the file retrieved
      • error - an error object (deleted if the request was successful)

Outputs

  • Write to a file (create/replace)
    • node options
      • bucket - a bucket to store files in
      • filename - filename of the remote s3 file
      • localFilename - local filename containing the content to be uploaded to s3
    • msg options
      • bucket - override the node configured bucket
      • filename - filename of the remote s3 file
      • localFilename - local filename containing the content to be uploaded to s3
      • payload - the content to be uploaded (localFilename takes priority)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions