This activity allows you to check if an s3 file is newer than a local file and if so pull it down. The activity returns the name of the file that is newest (whether it is the original local file or the downloaded file).
flogo install github.com/project-flogo/aws-contrib/activity/s3Latest
To configure AWS credentials see configuring-sdk. Some of the possible options arefor the AWS credentials are either env variables or set up the aws cli environment
Name | Type | Description |
---|
Name | Type | Description |
---|---|---|
subject | string | The message subject |
message | any | The message, either a string, object or params |
Bucket | string | AWS S3 bucket |
Item | string | AWS item/prefix to check |
File2Check | string | local file/path to check |
Region | string | AWS Region |
CheckLocal | string | either 'file' or'dir' based on what is being checked locally |
CheckS3 | string | either 'item' or'prefix' depending on whether s3 is checking a specific item or a prefix |
Name | Type | Description |
---|---|---|
modelFile | string | the file that is newest |
Coming soon...