OptionalaclOptionalbucketOptionalcontentOptionalcontentOptionalendpointThe endpoint of the S3 service. This is required for all S3 providers.
The endpoint may contain placeholders for region and bucket, which will be replaced internally with the actual values on use.
For example, https://{bucket}.s3.{region}.example.com will be replaced with https://my-bucket.s3.us-west-2.example.com if the bucket is my-bucket and the region is us-west-2.
If the endpoint does not contain a placeholder for the bucket, it will be appended to the path of the endpoint.
OptionalexpiresSeconds.
OptionalmethodOptionalregionThe region of the S3 bucket. This value is required for all S3 proviers. However, some providers don't care about its actual value.
OptionalresponseHeaders to set on the response of the S3 service.
OptionalcontentDisposition?: ContentDispositionUsed to set the file name that browsers display when downloading the file.
OptionalstorageOptionaltypeContent-Type of the file.
The name of the bucket to operate on. Different S3 providers have different limitations here. All of them require: