Create Bucket Instance
Note: Ensure you have installed the required package to use this SDK method.
To perform bucket level operations, you need to create a bucket instance. You will refer to this component instance in various code snippets of working with Buckets in Stratus.
The stratus reference used in the following code snippet is the component instance.
copy
const bucket = stratus.bucket("bucketName");
Last Updated 2026-07-02 14:51:41 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit