amazon-web-servicesamazon-s3aws-transfer-family

Are incoming files via AWS Transfer Family into S3 taggable?


At the moment I am facing a problem, that I can't determine if a file was PUT via the AWS Transfer Family or via the S3 GUI.

Is there any change to default tag files which are PUT on S3 via AWS Transfer Family?

Regards Ribase


Solution

  • There is S3 object metadata described in the Transfer Family user guide for post upload processing, which indicates Transfer Family uploaded this.

    One use case and application of using the metadata is when an SFTP user has an inbox and an outbox. For the inbox, objects are put by an SFTP client. For the outbox, objects are put by the post upload processing pipeline. If there is an S3 event notification, the downstream service on the processor side can do an S3 HeadObject call for the metadata, dismiss if it does not have the metadata, and only process incoming files.

    You could also use Transfer Family managed workflows to apply a Tag step. An example of application of using the Tag step can be found in demo 1 of the AWS Transfer Family managed workflows demo video.