Skip to content

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

Closed
@qtdzz

Description

@qtdzz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions