Writing files to AWS S3 from an ImageJ plugin?

Hi - I’m new to writing my own ImageJ plugins. I’d like to be able to write image files to an AWS S3 account. As a very basic example, having my plugin do some filtering on an image, then exporting the resulting image to S3. Does anyone have experience doing this kind of thing?

Some non-ImageJ examples I’ve found utilize the AWS SDK, though I don’t know if that is something that can be done with an ImageJ plugin?

Any advice would be appreciated! Thanks!