Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Allow setting a custom S3 client when using LargeMessageHandling #597

Closed
qtdzz opened this issue Oct 27, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@qtdzz
Copy link

qtdzz commented Oct 27, 2021

Is your feature request related to a problem? Please describe.
Currently the large message handler uses default AmazonS3 client to download client. It means the lambda execution IAM role must have S3 read permissions. The problem is when the S3 bucket is owned by another owner, they provide us the access via an IAM role and ask us to assume that role to read S3 content. Right now, we can't pass a custom S3 client (with assumed credentials) into the LargeMessageHandler.

Describe the solution you'd like
Be able to provide a custom AmazonS3 client for large message handling

@pankajagrawal16 pankajagrawal16 added the enhancement New feature or request label Oct 27, 2021
@pankajagrawal16
Copy link
Contributor

Thanks for opening the issue @qtdzz . Makes sense, we can probably provide an ability to pass custom s3 client as well.

@pankajagrawal16
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants