Create Bucket Instance

To perform bucket level operations, you need to create a bucket instance. We will refer to this component instance in various code snippets of working with Buckets in Stratus.

copy
const bucket = stratus.bucket("bucketName");

Last Updated 2025-09-23 19:47:43 +0530 IST