Skip to content

Keep name of the document in a pdf converter pipeline #48

Answered by HQarroum
A-Goud asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @A-Goud! Thanks for getting back to us with your question.

You are right that there is no way to specify a "stable" name for the objects stored by the S3 Storage Connector. We've thought about allowing users to specify a template to apply to the naming of objects, but haven't pushed this feature yet due to security concerns.

What we would like to do is allow users to specify a prefix to the S3 Storage Connector controlling where to store the object in the bucket :

const connector = new S3StorageConnector.Builder()
  .withScope(this)
  .withIdentifier('S3StorageConnector')
  .withCacheStorage(cache)
  .withSource(source)
  .withDestinationBucket({
    bucket,
    prefix: 'images/'
   })
  

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@A-Goud
Comment options

Answer selected by HQarroum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants