virtualHostedStyle

PvirtualHostedStyle
Bun

Symbol

S3FilePresignOptions.virtualHostedStyle

virtualHostedStyle?: boolean

Use virtual hosted style endpoint. default to false, when true if endpoint is informed it will ignore the bucket

// Using virtual hosted style
    const file = s3.file("my-file.txt", {
      virtualHostedStyle: true,
      endpoint: "https://my-bucket.s3.us-east-1.amazonaws.com"
    });