Skip to main content

Write Amazon S3

Synopsis

This operator uploads the input file to the Amazon S3 cloud storage.

Description

Before you can upload the input file to the selected Amazon S3 cloud storage, you must load it with an Open file operator.

确保正确的桶s selected, otherwise an error occurs! Buckets are container for the Amazon S3 objects. Each Bucket name is unique across all of Amazon S3.

Input

file

The file object which should be uploaded to Amazon S3 cloud storage. The file must be provided by an Open file operator.

connection

This input port expects a Connection object if any. See the parameterconnection entryfor more information.

Output

file

The input file object is passed through and returned here.

connection

This output port delivers the Connection object from the input port. If the input port is not connected the port delivers nothing.

Parameters

Connection source

This parameter indicates how the connection should be specified. It gives you two options, predefined and repository. The parameter is not visible if theconnectioninput port is connected.

Connection entry

This parameter is only available when theconnection sourceparameter is set torepository. This parameter is used to specify a repository location that represents a connection entry. The connection can also be provided using theconnectioninput port.

Connection

This parameter is only available when theconnection sourceparameter is set topredefined. The connection details for the Amazon S3 connection have to be specified. If you have already configured a Amazon S3 connection, you can select it from the drop-down list. If you have not configured a Amazon S3 connection yet, select the icon to the right of the drop-down list. Create a new Amazon S3 connection in the Manage connections box. The access key, secret key and the region are required. Note: It is very important to select the correct region for your connection. Otherwise an error occurs.

File

Enter the name of the file as it should be stored on Amazon S3, e.g., /mybucket/my_file.xls.

Content type

This option is optional. Enter the MIME type of the upload file, e.g., text/xml.