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. The stratus reference used in the below code snippet is the component instance.

    
copy
bucket = stratus.bucket('bucket_name')

Last Updated 2025-06-20 16:21:48 +0530 +0530