When set to true, confirms that the requester knows they will be charged for the request and data transfer costs. Required for accessing objects in Requester Pays buckets.
property requestPayer | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/S3FilePresignOptions/requestPayerPrequestPayer BuildDocsReferenceGuidesBlogDiscord /Bun/S3FilePresignOptions/requestPayerPrequestPayer S3FilePresignOptions.requestPayerrequestPayer?: boolean
Search the reference...
/
property
// Accessing a file in a Requester Pays bucket
const file = s3.file("data.csv", {
bucket: "requester-pays-bucket",
requestPayer: true
});
const content = await file.text();
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property requestPayer | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- When set to `true`, confirms that the requester knows they will be charged
for the request and data transfer costs. Required for accessing objects
in Requester Pays buckets.