Remix
Remix
remix/file-storage/s3 · FunctionView Source

createS3FileStorage

Summary

Creates an S3-backed implementation of FileStorage.

This works with AWS S3 and S3-compatible providers (for example MinIO or LocalStack) by overriding the endpoint option.

Signature

function createS3FileStorage(options: S3FileStorageOptions): FileStorage<File>;

Parameters

options

Configuration for the S3 backend

Returns

A FileStorage implementation backed by S3