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-07-02 15:43:56 +0530 +0530