Persist a file to the S3 bucket. If the s3ResourcePath is undefined, it will default to the workspace S3 resource.
const s3object = await writeS3File(s3Object, "Hello Windmill!")const fileContentAsUtf8Str = (await s3object.toArray()).toString('utf-8')console.log(fileContentAsUtf8Str) Copy
const s3object = await writeS3File(s3Object, "Hello Windmill!")const fileContentAsUtf8Str = (await s3object.toArray()).toString('utf-8')console.log(fileContentAsUtf8Str)
Persist a file to the S3 bucket. If the s3ResourcePath is undefined, it will default to the workspace S3 resource.