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;
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