Snap type: | Read
| |||
---|---|---|---|---|
Description: | This Snap polls a directory looking for files matching the specified pattern.
| |||
Prerequisites: | IAM Roles for Amazon EC2 The 'IAM_CREDENTIAL_FOR_S3' feature is to access S3 files from EC2 Groundplex, without Access-key ID and Secret key in the AWS S3 account in the Snap. The IAM credential stored in the EC2 metadata is used to gain the access rights to the S3 buckets. To enable this feature, the following line should be added to global.properties and the jcc (node) restarted: Please note this feature is supported in the EC2-type Groundplex only. For more information on IAM Roles, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
| |||
Support and limitations: |
|
...
| ||||||||||||||||||||||||||||||||||||||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. This Snap supports several account types, as listed in the table below, or no account. See Binary Account for information on setting up these types of accounts. Account types supported by each protocol are as follows:
Required settings for account types are as follows:
| |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Views: |
| |||||||||||||||||||||||||||||||||||||||||
Settings | ||||||||||||||||||||||||||||||||||||||||||
Label
| Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||||||||||||||||||||||||||||||||||||
Directory
| This property is a URL path to the directory where files will be searched. The supported file protocols are:
The property can be a JavaScript expression which will be evaluated with values from the input view document and the pipeline parameters. The property should have the syntax: Please note "://" is a separator between the file protocol and the rest of the URL and the host name and the port number should be between "://" and "/". If the port number is omitted, a default port for the protocol is used. The hostname and port number are omitted in the sldb and s3 protocols.
This property should be an absolute path for all protocols except sldb. For sldb, the Snap can access only the same project directory or the shared project directory, and cannot access other project directories.
Example:
Default value: [None]
| |||||||||||||||||||||||||||||||||||||||||
File filter Required. | A GLOB pattern to be applied to select one or more files in the directory. The File filter property can be a JavaScript expression which will be evaluated with values from the input view document.
Default value: [None]
| |||||||||||||||||||||||||||||||||||||||||
Polling interval in seconds Required. | A time interval in seconds to search the directory Example: 10 Default value: 30
| |||||||||||||||||||||||||||||||||||||||||
Polling timeout Required. | A time to end polling. Its unit is selected in the next property. Example:
Default value: 30
| |||||||||||||||||||||||||||||||||||||||||
Polling-timeout unit | Unit for polling timeout. Allowed values are SECONDS, MINUTES and HOURS. Example: SECONDS Default value: MINUTES
|
Examples
...
title | Snap History |
---|
4.6.0
- Updated to support IAM Roles for Amazon EC2.
4.5.0
- Updated to support IAM Roles for Amazon EC2.
- Support for Google Storage added.
4.2.1
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|