...
See Stream using Amazon S3 Functions - Acme EV for an example how the Amazone S3 collector and forwarder can be used in a stream.
Anchor | ||||
---|---|---|---|---|
|
For both functions, you need to configure AWS Credentials and File location.
AWS Credentials
The AWS Credentials can either be specified directly in the configuration dialog for the functions, or in an AWS Secret in the Secrets Wallet, and must contain:
Setting | Description |
---|---|
Access Key | The identifier used to sign the requests sent to Amazon S3, is referenced by S3 as the Access Key ID. |
Secret Key | The Secret Key is used in conjunction with the Access Key to cryptographically sign Amazon AWS requests. When you create the Access Key in Amazon S3 you can view and download the Secret Key. S3 references this as the Secret Access Key. |
File location
The File location settings include:
Setting | Description | ||
---|---|---|---|
Bucket | The Bucket is the public cloud storage resource available in Amazon S3. | ||
Folder | Enther the path to the folder you want to collect data from and push data to when using the Amazon S3 functions in this field.
|
Anchor | ||||
---|---|---|---|---|
|
With the Amazon S3 Collector you can collect data from your AWS S3 bucket for processing in your stream.
...
Note |
---|
Note! During collection, the following applies:
For all supported archive file types, the following applies:
There are exceptions to the filename patterns when it comes to collector functions. |
Anchor | ||||
---|---|---|---|---|
|
With the Amazon S3 Forwarder function you can send data to an Amazon S3 bucket from your stream.
...
In Output file Information section, specify how you want to handle the output file(s) in Filename options:
Filename option | Action |
---|---|
Collector filename | Select this option if you want to keep the same filename as on the input file(s). |
Custom filename | Select this option to define a new filename for the output files, see Configuring Dynamic Naming in Fields for information on how to define file names with additional flexibilit |
...
You have now configured the Amazon S3 Forwarder function.
Anchor | ||||
---|---|---|---|---|
|
You can view and access the following metadata properties of Amazon S3. To view the metadata, see information on the meta object in the Script function documentation.
Property name | Description | ||
---|---|---|---|
fileName | Name of the file. Syntax
| ||
filePath | Path from where the file is collected. The file can be either in the Excel or CSV format. Path format: Syntax
| ||
fileSize | Size (in bytes) of the file. Syntax
| ||
sheetName | Name of the sheet of the Excel file. Syntax
| ||
collectionTime | Timestamp when the file is collected. Syntax
|
...