Using Amazon S3 in a Process Flow
- Rohan Dhanwade (Deactivated)
Adeptia Connect enables you to use Amazon S3 as an Application Source or Target in a Process Flow. You can also create an Event that uses Amazon S3, and bind that Event with the Process Flow. Refer to the following sections that guide you on how to use Amazon S3 in a Process Flow.
This section helps you creating Amazon S3 as an Application Source that can be used in a Process Flow as an activity.
Follow the steps given below to create Amazon S3 type of application source.
Click Configure > SOURCES > Application Source.
Click Create Application Source.
In the Name field, enter a name for the Amazon S3 application source.
In the Description field, enter a description for the Amazon S3 application source.
In the Application field, select Amazon S3 as the type of application source.
In the Account field, select the Amazon S3 account that you want to use to connect to the Amazon S3 source.
You can also create an Amazon S3 account and use it by clicking the icon, and then providing the following information on the Create New Account screen.Field Name
Description
A short, descriptive name that helps you re-use this account in future.
Provide your Amazon S3 account Access Key Id. Click here to know how to get AWS Access Key.
AWS Secret Key
Provide your Amazon S3 account Secret Key. Click here to know how to get AWS Secret Key.
Select Project
Select a project in which you want to create a process flow.
Once you have provided the information, click to use the Amazon S3 account to connect to the Amazon S3 source.
In the Trigger field, select the following trigger.
Sl. no.
Trigger
Description
1
Get File
The Get File trigger triggers for the specified file in the bucket. In the Bucket field, select the bucket.
In the Folder field, specify the path of the folder where the source file is located.
In the File Name field, enter the source file name.
Expand Advanced Properties.
In case, after the execution of the process flow, you want the source file that has been saved locally to be deleted, you can select Delete On Success checkbox.- In the Select Project field, select the project.
Click Save.
The Application Event enables you to specify when and how frequently a Process Flow bound with it would be executed based on the polling frequency. It also overrides the parameters you have provided in the application source used in the Process Flow as an activity.
This section discusses the event for Amazon S3 type of application source. Follow the steps given below to create the application event.
Click Configure > EVENTS > Application.
Click Create Application Event.
In the Name field, enter a name for the event.
In the Description field, enter a description for the event.
In the Application field, select Amazon S3 as the type of application event.
In the Account field, select the Amazon S3 account that you want to use as a source.
You can also create an Amazon S3 account by clicking the icon, and then providing the following information on the Create New Account screen.Field Name
Description
A short, descriptive name that helps you re-use this account in future.
Provide your Amazon S3 account Access Key Id. Click here to know how to get AWS Access Key.
AWS Secret Key
Provide your Amazon S3 account Secret Key. Click here to know how to get AWS Secret Key.
Select Project
Select a project in which you want to create a process flow.
Once you have provided the information, click to save the account.
In the Trigger field, select either of the following triggers based on your requirement.
Sl. no.
Trigger
Description
1
New Or Updated File
Downloads the newly created or updated file.
2
All Files
Retrieves all the existing files.
In the Bucket field, select the bucket.
In the Folder field, specify the path of the folder where the source file is located.
In the Search Criteria field, specify a file extension, in case you want to retrieve only the files matching this search criteria. For example, *.txt.
Select Run Initial Load check box, if you want to process all the files when the event gets triggered for the first time.
In the Polling Frequency field, provide the time interval at which the Process Flow bounded with it will get executed.
- Expand Advanced properties.
- In the Select Project field, select the project.
Click Save.
This section helps you creating Amazon S3 as an Application Target that can be used in a Process Flow as an activity.
Follow the steps given below to create an Azure Blob type of application target.
Click Configure > TARGETS > Application Target.
Click Create Application Target.
In the Name field, enter a name for the Amazon S3 application target.
In the Description field, enter a description for the Amazon S3 application target.
In the Application field, select Amazon S3 as the type of application target.
In the Account field, select the Amazon S3 account that you want to use as the target.
You can also create an Amazon S3 account and use it as the target by clicking the icon, and then providing the following information on the Create New Account screen.Field Name
Description
A short, descriptive name that helps you re-use this account in future.
Provide your Amazon S3 account Access Key Id. Click here to know how to get AWS Access Key.
AWS Secret Key
Provide your Amazon S3 account Secret Key. Click here to know how to get AWS Secret Key.
Select Project
Select a project in which you want to create a process flow.
Once you have provided the information, click to use the account as the target.
In the Action field, select either of the following actions based on your requirement.
Sl. no.
Action
Description
1
Upload File to Bucket
Uploads files to the bucket.
2
Delete File From Bucket
Deletes files from the bucket.
In the Bucket field, select the bucket.
In the Folder field, specify the path of the target folder.
In the File Name field, enter the name of the target file as per your requirement.
In the Time Stamp field, select the format of date and time. The date and time gets appended to the target file name in the same format as selected by you in this field.
Expand Advanced Properties.
In the Select Project field, select the project.
Click Save.