Bucket component lets you add a Cloudflare R2 bucket to your app.
Constructor
sst.config.ts
Parameters
public
Enable public access to the bucket.
Properties
name
domain
nodes
SDK
Access the bucket in your worker:src/worker.ts
Examples
Create a bucket
sst.config.ts
Link to a worker
sst.config.ts