Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Coud you add s3key prefix in SqsProducer and SnsProducer class #37

Open
fymaterials98 opened this issue May 28, 2021 · 0 comments
Open

Comments

@fymaterials98
Copy link

To whom it may concern,
You code is helpful.
It may give the user more flexibility if user can define which directory in s3 bucket she/he can upload the files to.
May I suggest to add
private s3BucketPrefix: string;
this.s3BucketPrefix = s3BucketPrefix;
to SqsProducer and SnsProducer class

in PublishJson or SendJson function, modify payloadKey
const payloadKey = ${this.s3BucketPrefix}/${payloadId}.json;

Regards,
Arthur

@YanivD YanivD linked a pull request Mar 1, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant