How can I (use AWS GoLang SDK to) create an io.writer (pipe) that will write buffers to a AWS S3 bucket file?

0

Need GoLang io.writer for AWS S3 Bucket

I have some GoLang code for a media application, that is written to write media buffers (1 at a time) to a disk file via an "io.writer".
I want to convert that code to write the media buffers to an S3 bucket.

How can I create a GoLang "io.writer" that writes to an S3 bucket (via AWS SDK)?

已提問 2 年前檢視次數 1366 次
2 個答案
0

Hello, you've tagged this question with "AWS Storage Gateway." Unfortunately, this isn't a SGW related question. You will receive better response if you tag this with "S3" or "SDK" related tags.

AWS
已回答 2 年前
0

Thank you for reaching out to AWS re:Post, We are continuing to build this collection of code samples in the article -> https://docs.aws.amazon.com/code-samples/latest/catalog/go-s3-upload_arbitrary_sized_stream.go.html

If a code you are looking for is not there then a request would need to be raised to have it created, hence I request you to raise a support case with AWS Support. We do not currently have a service for providing on-demand code for customer.

AWS
支援工程師
Sathya
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南