name

Pname
Bun

Symbol

S3File.name

readonly name?: string

The name or path of the file in the bucket.

const file = s3.file("folder/image.jpg");
console.log(file.name); // "folder/image.jpg"