The Content-Encoding header value. Specifies what content encodings have been applied to the object, for example to indicate that it has been compressed.
property
S3Options.contentEncoding
contentEncoding?: string
// Setting gzip encoding
const file = s3.file("data.json.gz", {
contentEncoding: "gzip"
});