Amazon S3 Writer Component
Writes File Data objects passed into the component to the target directory in the Amazon S3 Bucket.
Data Governance
The Amazon S3 Writer component will record the storage of each file it writes in the database in the Data Governance System.
Input Channels
default — Uploads the FileData objects received on this input channel to the target directory in the Amazon S3 Bucket.
Output Channels
success — Returns a SimpleMappedData object indicating that a FileData object was successfully uploaded to the File Transfer Server. The object contains the bucket and full path where the file was written in the Amazon S3 Bucket.
failure — Returns a SignalData object indicating that a FileData objects was not successfully uploaded to the Amazon S3 Bucket.
error — Returns an ErrorOutput object when there is an error communicating with the Amazon S3 Bucket.
Parameters
basePath — (String) The directory in the Amazon S3 Bucket to which all of the input Files will be written.
ignoreFilePath — (boolean, default: false) Specifies whether the path included in the incoming files should be ignored or not. If this is false, the files will be uploaded into a subdirectory on the server matching the file’s path, relative to the components basePath. If this is true, the path is ignored, and the file will be uploaded directly into the basePath.