Number of seconds until the presigned URL expires.
Default: 86400 (1 day)
property expiresIn | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/S3FilePresignOptions/expiresInPexpiresIn BuildDocsReferenceGuidesBlogDiscord /Bun/S3FilePresignOptions/expiresInPexpiresIn S3FilePresignOptions.expiresInexpiresIn?: number
Search the reference...
/
property
// Short-lived URL
const url = file.presign({
expiresIn: 3600 // 1 hour
});
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property expiresIn | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Number of seconds until the presigned URL expires.
- Default: 86400 (1 day)